Sorts the specified array in-place. This function intends to implement stable sort.
the array to get sorted.
Optional
an optional callback used to compare the elements. undefined elements will be passed in to it nevertheless.
undefined
Implement this function without Array.sort -- it is too tricky and might be slow.
Array.sort
Sorts the specified array in-place. This function intends to implement stable sort.