# C1.DataCollection.ISupportSorting

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_DataCollection_ISupportSorting" data-uid="C1.DataCollection.ISupportSorting" class="text-break">ISupportSorting Interface
</h1>
  <div class="markdown level0 summary"><p>Specifies a calling contract for collections that support sorting.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.DataCollection.html">C1.DataCollection</a></h6>
  <h6><strong>Assembly</strong>: C1.DataCollection.dll</h6>
  <h5 id="C1_DataCollection_ISupportSorting_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISupportSorting</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISupportSorting</code></pre>
  </div>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_ISupportSorting_SortDescriptions" data-uid="C1.DataCollection.ISupportSorting.SortDescriptions">
          <a class="xref" href="C1.DataCollection.ISupportSorting.SortDescriptions.html#C1_DataCollection_ISupportSorting_SortDescriptions">SortDescriptions</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the sort descriptions applied to the data.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_ISupportSorting_CanSort_C1_DataCollection_SortDescription___" data-uid="C1.DataCollection.ISupportSorting.CanSort(C1.DataCollection.SortDescription[])">
          <a class="xref" href="C1.DataCollection.ISupportSorting.CanSort.html#C1_DataCollection_ISupportSorting_CanSort_C1_DataCollection_SortDescription___">CanSort(params SortDescription[])</a>
        </td>
        <td class="markdown level1 summary"><p>Returns whether the collection is able to sort the specified <code class="paramref">sortDescriptions</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_DataCollection_ISupportSorting_SortAsync_C1_DataCollection_SortDescription___System_Threading_CancellationToken_" data-uid="C1.DataCollection.ISupportSorting.SortAsync(C1.DataCollection.SortDescription[],System.Threading.CancellationToken)">
          <a class="xref" href="C1.DataCollection.ISupportSorting.SortAsync.html#C1_DataCollection_ISupportSorting_SortAsync_C1_DataCollection_SortDescription___System_Threading_CancellationToken_">SortAsync(SortDescription[], CancellationToken)</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts the collection according to the specified <code class="paramref">sortDescriptions</code>.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_DataCollection_ISupportSorting_SortChanged" data-uid="C1.DataCollection.ISupportSorting.SortChanged">
          <a class="xref" href="C1.DataCollection.ISupportSorting.SortChanged.html">SortChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Raised after a sort operation was performed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
