Sorts core.txt
Moves all extra packages to extra.txt