How to order samples in abundance barplot

We need a reproducible example (reprex)