I am plotting a dataframe and the x values are "first", "second" ... so on.
The ggplot function plotted them alphabetically instead of numerically.
I tried to use
scale_fill_discrete(
  breaks = c("First", "Second", "Third", "Fourth", "Fifth", "Sixth")
)
The barplot is still coming out with the wrong order here is the full code
gender_1 %>% 
  ggplot(aes(x = `Call Attempt`, y = `Count`, fill = `Gender`)) +
  geom_col(position dodge) + 
  scale_fill_discrete(
    breaks = c("First", "Second", "Third", "Fourth", "Fifth", "Sixth")
  )
I used
scale_fill_discrete(
  breaks = c("First", "Second", "Third", "Fourth", "Fifth", "Sixth")
)
and the order came out alphabetically instead of numerically
 
     
    