ResultDom.getQueueSortFunction method
ResultDom › getQueueSortFunction
Unofficial
Get the order in which the search queue should visit files under thebyRelevance sort order: files whose name matches a query term first, then the most recently modified.Signature:
getQueueSortFunction(): ((a: TFile, b: TFile) => number) | nullReturns: ((a: TFile, b: TFile) => number) | null — The comparator, or null when the results are not sorted by relevance.