Sort files in packages by their order attribute