diff --git a/app/helpers.php b/app/helpers.php
index f2ce33f..28ed6f7 100644
--- a/app/helpers.php
+++ b/app/helpers.php
@@ -25,9 +25,10 @@ class CheckoutBidderSelectList
{
public static function CheckoutBidderShowNumbers()
{
- $checkout_bidder_num_results = Checkout:://with('bidders')
- get();
- $checkout_bidder_num_results = $checkout_bidder_num_results->bidders->sortBy('bidder_assigned_number');
+ $checkout_bidder_num_results = Checkout::join('bidders', 'checkout.winning_bidder_num', '=', 'bidders.idbidders')
+ ->orderBy('bidders.bidder_assigned_number', 'asc')
+ ->get();
+
$checkout_bidder_num = '';
foreach($checkout_bidder_num_results as $checkout_bidder_num_result){
$checkout_bidder_num .= '';