Support the ongoing development of Laravel.io →
Eloquent

I want to do an find([3,5,23]) on a model. But it seems laravel everytime is sorting the array before the command is executed.

Because no matter how my array looks... 3,5,23 or 23,5,3 or ... i everytime get the same results in same order... i want the order from my array. is that possible?

Last updated 3 years ago.
0

Have found information for this topic here: https://github.com/laravel/framework/issues/2327

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.