title: Flutter: How to sort a list by two or more fields?
body: <p>I have a list of objects that contain a few properties each.</p>
  
  <p>Object.name = "Some string"<BR>
  Object.age = some int<BR>
  <em>List l = [{"Peter", 25}, {"Peter", 22}, {"John", 26}, {"Max", 26}]</em><BR></p>
  
  <p>I can't find anywhere how I can sort the list so it looks like this:
  <em>[{"John", 26}, {"Max", 26}, {"Peter", 22}, {"Peter", 25}]</em></p>
  
  <p>Ascending on "name" and then, if same value, ascending on "age".</p>
  
  <p>List.sort seems to not have an option for multiple fields and always sort by the one field provided.</p>
  
  <p>Can someone please give me a pointer?</p>
  
  <p>Thanks</p>