how to use order by in laravel in controller code example Example: order By Asc in laravbel ->orderBy('id', 'DESC');