List or Tuples

Just to add a few more examples of sorting points by some property using sorted():

These are implemented in GHPython, but should work the same in the EditPythonScript editor.