sorting
comparison
loop
5
10000
50
60000
SELECT toInt32(number) AS n FROM numbers(1000000) ORDER BY n DESC FORMAT Null
SELECT toDecimal32(number, 0) AS n FROM numbers(1000000) ORDER BY n FORMAT Null
SELECT toDecimal32(number, 0) AS n FROM numbers(1000000) ORDER BY n DESC FORMAT Null
SELECT toDecimal64(number, 8) AS n FROM numbers(1000000) ORDER BY n DESC FORMAT Null
SELECT toDecimal128(number, 10) AS n FROM numbers(1000000) ORDER BY n DESC FORMAT Null