partition by and order by same column