Introduction to forcats
Ordering by frequency | NAs in levels and values | Combining levels | Ordering by another variable | Manually reordering