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

Function ascendingFirstIndexStringSort

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

Source from the content-addressed store, hash-verified

109};
110
111export const ascendingFirstIndexStringSort: SortFunction<string[]> = (a, b) => a[0].localeCompare(b[0]);
112
113export const sortMethodMap: Record<DashboardSortOrder | SortOrder, SortFunction<any>> = {
114 'name-asc': ascendingNameSort,

Callers 1

sorting.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected