# 299efd383a6f3e984dcb21a5364ce3c676c82d603a06a4920a45092cbb99033b Elan 1.6.1 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
