Calling values() on sorted collection to reset the array keys and prevent unexpected sorting when returning as json.
Calling values() on sorted collection to reset the array keys and prevent unexpected sorting when returning as json.

laravel/scout