Take a point and sort the coordinates, return an array of them sorted.
the Point to be sorted
'asc'|'desc'
Take a point and sort the coordinates, return an array of them sorted.