Small refactoring of order.