MCPcopy Index your code
hub / github.com/codeaashu/claude-code / byIdAsc

Function byIdAsc

src/components/TaskListV2.tsx:22–29  ·  view source on GitHub ↗
(a: Task, b: Task)

Source from the content-addressed store, hash-verified

20};
21const RECENT_COMPLETED_TTL_MS = 30_000;
22function byIdAsc(a: Task, b: Task): number {
23 const aNum = parseInt(a.id, 10);
24 const bNum = parseInt(b.id, 10);
25 if (!isNaN(aNum) && !isNaN(bNum)) {
26 return aNum - bNum;
27 }
28 return a.id.localeCompare(b.id);
29}
30export function TaskListV2({
31 tasks,
32 isStandalone = false

Callers 1

TaskListV2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected