esultTable</code></a> of the given query, sorted according to the values in a specified <a href="/api/queries/type-aliases/result/resultcell/"><code>ResultCell</code></a>.</p><pre><code><span class="function"><a href="/api/queries/interfaces/queries/queries/methods/result/getresultsortedrowids/">getResultSortedRowIds</a></span><span class="punctuation">(</span>
  queryId<span class="operator">:</span> <span class="builtin">string</span><span class="punctuation">,</span>
  cellId<span class="operator">?</spa