sortBy method
The sortBy method sorts the list of objects by the given key.
Example:
list.sortBy("price") // create new list with soreted list according to price
Implementation
List<dynamic> sortBy(String key, [bool isDesc = false]) =>
FxList.sortBy(this, key, isDesc);