TrackSorter: A Transformer-based sorting algorithm for track finding in High Energy Physics