ascending is identical to compare. descending x y = ascending y x. These are intended to be mnemonic when used like List.sort ~compare:ascending and List.sort
~compare:descending, since they cause the list to be sorted in ascending or descending order, respectively.