Sort packages by order attribute as well
Merge pull request #2 from jplitza/master

Package sort order