Add order by when field to purchase orders