month sorting issue fix