Rearranging boxplot boxes interactively

Let’s say I have a graph where one axis is a categorical parameter, as usually the case for box plots for example.
If I do now have multiple boxes in one plot, there are usually several interesting comparisons to do.
For example when having combinations like A2, A3, A4, B2, B3, B4, where the letter is giving information about changes of one condition and the number gives information about changes of another condition it could be either interesting to compare all the 2s with each other, or all the As. What is interesting depends on the user, and cannot be determined ahead.

So my question is: Is it possible to interactively rearrange boxes?
With above example, it would be useful if I could drag the box for B2 next to the one of A2.
Does such functionality exist?

Is there anything like this?
If not by drag and drop, maybe some other sorting mechanism?
It really starts to hamper the usability of my app.

For example I am having two different objects A and B. I am testing how conditions 1-5 are differentialy affecting these objects.
Now when I only select objects A1-5 the order in the plots is A4, A2, A3, A5, A1
and for object B: B2, B3, B4, B1, B5.
This makes it very difficult to compare the two plots and basically makes them completely useless for any presentations. It would be really appreciated if anybody has an idea how one could change the arrangement of the plots.