Add order_task scope for ordering by task priority