MCPcopy Create free account
hub / github.com/codeaashu/claude-code / sortAlphabetically

Function sortAlphabetically

src/utils/suggestions/commandSuggestions.ts:361–362  ·  view source on GitHub ↗
(a: Command, b: Command)

Source from the content-addressed store, hash-verified

359
360 // Sort each category alphabetically
361 const sortAlphabetically = (a: Command, b: Command) =>
362 getCommandName(a).localeCompare(getCommandName(b))
363
364 builtinCommands.sort(sortAlphabetically)
365 userCommands.sort(sortAlphabetically)

Callers

nothing calls this directly

Calls 1

getCommandNameFunction · 0.50

Tested by

no test coverage detected