MCPcopy Create free account
hub / github.com/Kong/insomnia / descendingNumberSort

Function descendingNumberSort

packages/insomnia/src/common/sorting.ts:107–109  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

105};
106
107export const descendingNumberSort: SortFunction<number> = (a, b) => {
108 return ascendingNumberSort(b, a);
109};
110
111export const ascendingFirstIndexStringSort: SortFunction<string[]> = (a, b) => a[0].localeCompare(b[0]);
112

Callers 1

sorting.test.tsFile · 0.90

Calls 1

ascendingNumberSortFunction · 0.85

Tested by

no test coverage detected