creat a fucntion that will return a sorted list of valid comma separated strings. sort first by the y coordinate, if y coordinates are equal, then sort by x coordinate. Complete