diff --git a/app/helpers.php b/app/helpers.php index 2c9db2e..c6f536f 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -25,7 +25,9 @@ class CheckoutBidderSelectList { public static function CheckoutBidderShowNumbers() { - $checkout_bidder_num_results = Checkout::with('bidders') + $checkout_bidder_num_results = Checkout::with(['bidders' => function ($q) { + $q->orderBy('bidder_assigned_number', 'asc'); + }]) ->orderBy('bidder_assigned_number') ->get(); $checkout_bidder_num = '';