fixed sorting of added package