Bugfix: order bars in bar diagram