Sort packages by order attribute as well