I have the following plot of a Likert scale:
StatsPlots.groupedbar(
repeat(questions, outer = 5),
weights,
group=repeat(["1", "2", "3", "4", "5"], inner=length(questions)),
bar_position=:stack,
orientation=:h,
xticks=(0:0.25:1, ["$i %" for i in 0:25:100]),
)
where I have three questions and the normalized responses are in the matrix weights
.
Is it possible to reverse the ordering of the groups?
It seems that they are sorted.