Sorted points list by X coordinate and then by Y coordinate

I usually use this pattern when sorting by an object property: