Stared working on order by part of querying