model::where()->orderBy laravel code example Example: order By Asc in laravbel ->orderBy('id', 'DESC');