Appearance
function compareAsc(a: number, b: number): number
Compare the strings in ascending order.
['q', 'p', 'Q', 'P'].sort(str.compareAsc) // ['P', 'Q', 'p', 'q']