I am looking for an efficient way to get geometries sorted by their latitude (northmost in case of polygons) when querying a postGis database
Something that could work in an order by clause which possibly works independent of the geometry type (as long as the CRS is lat/lon based)
I think the following would be the ideal writing for it
order by ST_North(geometry)
but I am not aware of such an operator