How to sort getCollectionChildrenArray by DatePublic
Permalink$page = Page::getByID("149"); $sub_page_ids = $page->getCollectionChildrenArray(1);
None of the concrete sortBy methods are working on an array.
Thanks
$page = Page::getByID("149"); $sub_page_ids = $page->getCollectionChildrenArray(1);
This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.
I guess I can build an array with the following and then sort it, doesn't seem like the best use of the CMS though.
Thanks