Hello I cannot change the order in which my results are ordered and this is very important. changes asc to desc and vice versa does not affect the query at all.
//grab all of the user's orders
$tempOrderslist = Orders::query()
->where('userUID', '=', $user->UID)
->orderBy('orderDate', 'asc');//'desc' or 'asc' THIS CHANGES NOTHING
->take(40)
->get();
Hello I cannot change the order in which my results are ordered and this is very important. changes asc to desc and vice versa does not affect the query at all.