This construction demonstrates how a list of complex points can be sorted by their argument.
The demonstrated technique can be used to sort arbitrary lists, as explained [url=http://wiki.geogebra.org/en/Tutorial:Advanced_List_Sorting]in this tutorial[/url].