# 6772621a4e643c1750b9540a51e61dac3b06de35cc73e54f65906ae5a86ef1f0 Elan 1.6.4 guest default_profile valid

main
  let names be ["Simon", "Pauline", "Jason", "Zelda", "Edith", "Lance", "Alice", "Paul"]
  let sorted be names.sortBy(lambda x as String, y as String => if x.isAfter(y) then 1 else if x.isBefore(y) then -1 else 0)
  print sorted
end main
