[8.x] Implement lazyById in descending order (#39646)
[8.x] Implement lazyById in descending order (#39646)

* Implement lazyById in descending order

* fix need to use the parameter in the closure

* change the code a little so that it wont change the existing method signature so that it is a non-breaking change

* remove extra line

* Update BuildsQueries.php

Co-authored-by: Taylor Otwell <5d74ae093a16a00e5af127763f2dc7e13988f162@laravel.com>
notebowl/laravel-framework,JamesForks/framework,laravel/framework,mul14/laravel-framework,mul14/laravel-framework,bytestream/framework,lucasmichot/framework,leo108/laravel_framework,hafezdivandari/framework,JamesForks/framework,notebowl/laravel-framework,arturock/framework,mul14/laravel-framework,driesvints/framework,bytestream/framework,morrislaptop/framework,arturock/framework,samlev/framework,samlev/framework,arturock/framework,crynobone/framework,mul14/laravel-framework,dwightwatson/framework,driesvints/framework,hafezdivandari/framework,dwightwatson/framework,stevebauman/framework,crynobone/framework,laravel/framework,stevebauman/framework,leo108/laravel_framework,morrislaptop/framework,lucasmichot/framework