make sure headers are sorted for writing magic files
make sure headers are sorted for writing magic files

Caoimhinmg/PmagPy,lfairchild/PmagPy,Caoimhinmg/PmagPy,lfairchild/PmagPy,lfairchild/PmagPy,Caoimhinmg/PmagPy