my array from $temp
is Array ( [0] => 22 [1] => 26 [2] => 20 [3] => 24 )
or 22|26|20|24
when I use whereIn
like this
$robjeks = DB::table('objek')->whereIn('id', $temp)->get();
the result is 20|22|24|26|
it's automatically sorted. I want it's not sorted.
how to make it same like 22|26|20|24
?
thanks for your attention.