# C1.Web.Mvc.Grid.SortOrder

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Web_Mvc_Grid_SortOrder" data-uid="C1.Web.Mvc.Grid.SortOrder" class="text-break">SortOrder Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the constants that define the sorting order for all columns present in the FlexGrid.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Grid.html">C1.Web.Mvc.Grid</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Grid_SortOrder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum SortOrder</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum SortOrder</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Web_Mvc_Grid_SortOrder_AscDesc">AscDesc</td>
        <td><p>Column will get sorted in the order - ascending -&gt; descending.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SortOrder_AscDescNone">AscDescNone</td>
        <td><p>Column will get sorted in the order - ascending -&gt; descending -&gt; none.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SortOrder_DescAsc">DescAsc</td>
        <td><p>Column will get sorted in the order - descending -&gt; ascending.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Grid_SortOrder_DescAscNone">DescAscNone</td>
        <td><p>Column will get sorted in the order - descending -&gt; ascending -&gt; none.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
