Implemented sorting by coordinates (badly)
Fixed filtering by coordinates