[Export pay] Fix error in month sort