sortCompare property

bool sortCompare
final

If you want your list to be sorted, add the function on. Example: (Person a, Person b) => a.name.compareTo(b.name), This list will be ordered by the object name parameter. sortCompare Your list will be ordered by the same function stringFilter. True by default. sort default compare by stringFilter return.

Implementation

//final Compare<T> compareSort;

///[sortCompare] Your list will be ordered by the same function
///[stringFilter]. True by default.
/// sort default compare by stringFilter return.
final bool sortCompare;