add order by scope