Not ordered binned color-bar

Hello, for some reason the binned colorbar of my windrose does not come out ordered. Any help will be appreciated.

Sorting the ‘speed’ column before plotting solves the issue.