Sorting, invalid rank, tour support