i have a model setup in Eloquent of a many to many relationship of Pages and Articles. My users have the ability to order these articles per page.
So my question is, can i order the relationship with sync...
$page->articles()->sync($specificOrderOfArticleIds)
And it sync the relationships in the order of that passed array.
so when i query the page
$page->articles() // in specified order
It's in the specified order.
Maybe i'm missing something obvious here?