sort by geometryid