fixed sorting by pay period