changed the sortPMSfiles to work with new mps and added it as sortMPSfiles