Added order by in generating columns.