Array.sort without compare function
Provide a compare function when sorting non-string arrays.
#Metadata
#Why it matters
Default sort coerces elements to strings, which misorders numbers and many objects.
#Remediation
Pass an explicit compare function, for example `(a, b) => a - b` for numbers.
#Repository path
The generated metadata points to critiq-rules/libs/rules/catalog/rules/typescript/ts.correctness.array-sort-without-compare.rule.yaml.