reorder()
Yの値の大きさでX軸を並べ替え
TOP
↑
↓
棒グラフなどを描いた時、大きさの順に並べ替えたい。
aes(x = reorder(X, ~Y), y = Y)
aes(x = reorder(X, Y), y = Y)