Rank transformation
Every value is replaced by its rank: 1 for the smallest, 2 for the next and so on. Only the order still counts. Rank methods work this way and are less sensitive to outliers.
Example: The values 3, 8, 8, 15, 21 become the ranks 1, 2.5, 2.5, 4, 5.
Caution: The distances between values are lost. A huge gap and a tiny gap look the same in ranks.