Comparator function to define a custom display order for list items.
Follows the same contract as Array.prototype.sort.
the first item to compare
the second item to compare
negative when A should come first, positive when B should come first, 0 if equal
0
Comparator function to define a custom display order for list items.
Follows the same contract as Array.prototype.sort.