source/Application/Model/ArticleList.php
public function sortByIds($aIds)
    {
        $this->_aOrderMap = array_flip($aIds);
        uksort($this->_aArray, [$this, '_sortByOrderMapCallback']);
    }
public function sortByIds($aIds)
    {
        $this->_aOrderMap = array_flip($aIds);
        uksort($this->_aArray, [$this, '_sortByOrderMapCallback']);
    }
public function sortByIds ( $ aIds ) { $ this -> _aOrderMap = array_flip ( $ aIds ) ; uksort ( $ this -> _aArray , [ $ this , '_sortByOrderMapCallback' ] ) ; }
sort this list by given order.

@param array $aIds ordered ids
sort this list by given order .