select
    row_number() over (order by value),
    value,
    rank() over (order by value)
from
    test_row_count_and_rank
order by
    row_number;