Fix the order of packages