Not against this but the order is not guaranteed so if you want the latest stable you should use something like: https://github.com/composer/composer/blob/master/src/Composer/Command/ShowCommand.php#L275-L278