objects will be compared by accessing the property with this key
Optional
comparator: Comparator<V>compares the property values
a new comparator
Same as compareBy but orders in descending order
a function that transforms a value into another value to be compared
Optional
comparator: Comparator<U>compares the transformed values
a new comparator
Same as compareBy but orders in descending order