This is very specific to sort station by distance, so I'm not sure it makes a lot of sense to move that to a different file, unless we're going to make it more generic like: SortableTupleObject and TupleSorter.
What do you think?