sorting days that span months, part 1