Some functions require multiple addresses to be sorted.
For example, the uniswap router requires for some functions: "token0 is guaranteed to be strictly less than token1 by sort order."
I do know how to sort them and why it is necessary for some functions to work. I just wonder how they are actually compared?
Like do they compare the byte code of each address, or do they just compare each number from the beginning of an address so 0x0... would be less than an address starting with 0x1... or what are the exact values of each address to decide which one is less than the other?