fix the file sorting menu that I messed up in the last commit