Joined June 2014
·

kintso

Paris
·
·

Posted to Sorting Nested Laravel Collections over 1 year ago

Thanks for your post ! Would you know why using sortByDesc('created_at') ends in a different answer ? When using your method, it works like a charm for me. However when using the former, after my collection is calling toArray(), I see that some keys have been added.

Achievements
1 Karma
0 Total ProTip Views