i have two array. The first with my objects :
Array
(
[0] => stdClass Object
(
[id_keyword] => 148
[id_group] => 34
)
[1] => stdClass Object
(
[id_keyword] => 200
[id_group] => 34
)
[2] => stdClass Object
(
[id_keyword] => 151
[id_group] => 34
)
[3] => stdClass Object
(
[id_keyword] => 207
[id_group] => 34
)
)
And another one, with the position i need based on id_keyword :
Array
(
[0] => 200
[1] => 148
[2] => 151
[3] => 207
)
I want to sort my first array. I look on array_multisort, but didn't make it work :/
Any idea ?
Thanks !