Liste de tri descendant à partir de la clé de cartes Spesific dans Dart

 // if you want to sort obejects descendingly, use b compare to a
 
 topContributors.sort((a, b) => b['amount'].compareTo(a['amount']));
 
 // if you want to reverse the order of list, just use
 
 topContributors.reversed.toList();
 
Gifted Gharial