public static function getOrderedPages($pageIds)
    {
        $pages = [];
        foreach ($pageIds as $pageId) {
            $pages[$pageId] = static::preload($pageId);
        }
        uasort($pages, ['self', '_orderAsc']);
        return $pages;
    }
public static function getOrderedPages($pageIds)
    {
        $pages = [];
        foreach ($pageIds as $pageId) {
            $pages[$pageId] = static::preload($pageId);
        }
        uasort($pages, ['self', '_orderAsc']);
        return $pages;
    }
public static function getOrderedPages ( $ pageIds ) { $ pages = [ ] ; foreach ( $ pageIds as $ pageId ) { $ pages [ $ pageId ] = static :: preload ( $ pageId ) ; } uasort ( $ pages , [ 'self' , '_orderAsc' ] ) ; return $ pages ; }
returns ordered pages
returns ordered pages