# GrapeCity.Spreadsheet.ISort

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_ISort" data-uid="GrapeCity.Spreadsheet.ISort" class="text-break">ISort Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a sort of a range of data.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_ISort_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface ISort</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface ISort</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="GrapeCity_Spreadsheet_ISort_Header" data-uid="GrapeCity.Spreadsheet.ISort.Header">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.Header.html#GrapeCity_Spreadsheet_ISort_Header">Header</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether  the first row contains header information.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_MatchCase" data-uid="GrapeCity.Spreadsheet.ISort.MatchCase">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.MatchCase.html#GrapeCity_Spreadsheet_ISort_MatchCase">MatchCase</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether to perform a case-sensitive sort.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_Orientation" data-uid="GrapeCity.Spreadsheet.ISort.Orientation">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.Orientation.html#GrapeCity_Spreadsheet_ISort_Orientation">Orientation</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the orientation for the sort.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_Rng" data-uid="GrapeCity.Spreadsheet.ISort.Rng">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.Rng.html#GrapeCity_Spreadsheet_ISort_Rng">Rng</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the range of values on which the sort is performed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_SortFields" data-uid="GrapeCity.Spreadsheet.ISort.SortFields">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.SortFields.html#GrapeCity_Spreadsheet_ISort_SortFields">SortFields</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.ISortFields.html">ISortFields</a> object that represents the collection of sort fields associated with the <a class="xref" href="GrapeCity.Spreadsheet.ISort.html">ISort</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_SortMethod" data-uid="GrapeCity.Spreadsheet.ISort.SortMethod">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.SortMethod.html#GrapeCity_Spreadsheet_ISort_SortMethod">SortMethod</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the sort method for Chinese languages.</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="GrapeCity_Spreadsheet_ISort_Apply" data-uid="GrapeCity.Spreadsheet.ISort.Apply">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.Apply.html#GrapeCity_Spreadsheet_ISort_Apply">Apply()</a>
        </td>
        <td class="markdown level1 summary"><p>Sorts the range based on the currently applied sort states.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_SetRange_GrapeCity_Spreadsheet_IRange_" data-uid="GrapeCity.Spreadsheet.ISort.SetRange(GrapeCity.Spreadsheet.IRange)">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.SetRange.html#GrapeCity_Spreadsheet_ISort_SetRange_GrapeCity_Spreadsheet_IRange_">SetRange(IRange)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the range over which the sort occurs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_SetRange_GrapeCity_Spreadsheet_Reference_" data-uid="GrapeCity.Spreadsheet.ISort.SetRange(GrapeCity.Spreadsheet.Reference)">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.SetRange.html#GrapeCity_Spreadsheet_ISort_SetRange_GrapeCity_Spreadsheet_Reference_">SetRange(Reference)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the range over which the sort occurs.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_ISort_SetRange_System_String_" data-uid="GrapeCity.Spreadsheet.ISort.SetRange(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.ISort.SetRange.html#GrapeCity_Spreadsheet_ISort_SetRange_System_String_">SetRange(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the range over which the sort occurs.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
