integer_type
UInt32
UInt64
sort_expression
key
key, value
key DESC
key DESC, value DESC
CREATE TABLE sequential_{integer_type} (key {integer_type}, value {integer_type}) Engine = Memory
INSERT INTO sequential_{integer_type} SELECT number, number FROM numbers(500000000)
SELECT key, value FROM sequential_{integer_type} ORDER BY {sort_expression} FORMAT Null
DROP TABLE IF EXISTS sequential_{integer_type}