diff --git a/app/helpers.php b/app/helpers.php index e77b95b..49f6ade 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -27,7 +27,7 @@ class CheckoutBidderSelectList { $checkout_bidder_num_results = Checkout::with('bidders') ->get(); - $checkout_bidder_num_results = $checkout_bidder_num_results->orderBy('bidder_assigned_number'); + $checkout_bidder_num_results = $checkout_bidder_num_results->sortBy('bidder_assigned_number'); $checkout_bidder_num = ''; foreach($checkout_bidder_num_results as $checkout_bidder_num_result){ $checkout_bidder_num .= '';