Kibana version: master
Describe the bug:
When using the range aggregation with an area chart and the ranges are not ordered correctly, the chart will not be rendered correctly
Steps to reproduce:
- Create an area chart
- Configure x axis as range agg
- Use the following ranges:
5000-6000, 0-1000, 1000-2000
Expected behavior:
The chart is shown correctly, treating each range as an ordinal value on the x axis
Screenshots (if relevant):
Ordered ranges:

Unordered ranges:

Kibana version: master
Describe the bug:
When using the range aggregation with an area chart and the ranges are not ordered correctly, the chart will not be rendered correctly
Steps to reproduce:
5000-6000,0-1000,1000-2000Expected behavior:
The chart is shown correctly, treating each range as an ordinal value on the x axis
Screenshots (if relevant):
Ordered ranges:

Unordered ranges:
