Question : dart list sort by value with custom class
Answered by : eric-van-de-kerckhove
someObjects.sort((a, b) => a.someProperty.compareTo(b.someProperty));
Source : https://stackoverflow.com/questions/53547997/sort-a-list-of-objects-in-flutter-dart-by-property-value | Last Update : Wed, 23 Jun 21