reformat Fred array
changed sortdataframe to be easier to use
various output files for gsea