# C1.Report.Group.SortExpression

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Report_Group_SortExpression_" data-uid="C1.Report.Group.SortExpression*">SortExpression Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Report_Group_SortExpression_" data-uid="C1.Report.Group.SortExpression*"></a>
<h4 id="C1_Report_Group_SortExpression" data-uid="C1.Report.Group.SortExpression">SortExpression</h4>
<div class="markdown level1 summary"><p>Gets or sets the sort expression. Can be used to sort the group instances by an aggregate function.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[C1Description(&quot;Group.SortExpression&quot;, &quot;The sort expression. If empty, the group is sorted by the GroupBy value. But if specified, this is used for sorting instead. Note that aggregate functions (scoped to the group) can be used in this expression.&quot;)]
public string SortExpression { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;C1Description(&quot;Group.SortExpression&quot;, &quot;The sort expression. If empty, the group is sorted by the GroupBy value. But if specified, this is used for sorting instead. Note that aggregate functions (scoped to the group) can be used in this expression.&quot;)&gt;
Public Property SortExpression As String</code></pre>
</div>
</div>
