Refactored `order` method