sortByDesc method

List sortByDesc(
  1. String key
)

The sortBy method sorts the list of objects by the given key.

Example:

list.sortBy("price")

This method has the same signature as the sortBy method,
but will sort the collection in the opposite order

Implementation

List<dynamic> sortByDesc(String key) => FxList.sortByDesc(this, key);