Minor whitespace nit in `shuffle`.
Optimize `sortBy` by adding `baseCompareAscending` and `compareMultipleAscending`.