re-added sort, which had originally been present as part of LocationsParserService, but had fallen off the grid.