sort screens according to its x position in space