compare
void
compare
(
a
,
b
,
desc
)
Comparator function for simple case-insensitive string sorting.
- Parameters:
-
a <Object>
First sort argument. -
b <Object>
Second sort argument. -
desc <Boolean>
True if sort direction is descending, false if sort direction is ascending.