sorted map so the spreadsheet columns match