Implement sliceSortKey to sort lists of maps