Add deprecated function to redirect sort(comparator) to sortBy(comparator)