MCPcopy Create free account
hub / github.com/TanStack/db / keySort

Function keySort

packages/db-ivm/src/hashing/hash.ts:212–214  ·  view source on GitHub ↗

* Strings sorted lexicographically.

(a: string, b: string)

Source from the content-addressed store, hash-verified

210 * Strings sorted lexicographically.
211 */
212function keySort(a: string, b: string): number {
213 return a.localeCompare(b)
214}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected