
Add ordered argument to lubridate::month
month(x, label = FALSE, abbr = TRUE, ordered = FALSE)
Input date vector
Month as label (TRUE, FALSE)
Abbreviate label (TRUE, FALSE)
Order factor (TRUE, FALSE)
See the month
function in the lubridate package for additional details