protected function sortActions(\ArrayIterator $iterator)
    {
        $iterator->uasort(function ($a, $b) {
            return $a->getTime()->getTimestamp() - $b->getTime()->getTimestamp();
        });
    }
protected function sortActions(\ArrayIterator $iterator)
    {
        $iterator->uasort(function ($a, $b) {
            return $a->getTime()->getTimestamp() - $b->getTime()->getTimestamp();
        });
    }
protected function sortActions ( \ ArrayIterator $ iterator ) { $ iterator -> uasort ( function ( $ a , $ b ) { return $ a -> getTime ( ) -> getTimestamp ( ) - $ b -> getTime ( ) -> getTimestamp ( ) ; } ) ; }
Sort actions by execution time
@param \ArrayIterator $iterator - iterator to append actions
Sort actions by execution time