Sorting in area charts is usually based on the x-axis, such as time or categories. Sorting helps ensure that the areas are plotted in a logical progression.
This component has no editable sandbox yet.
Open the Code tab to read and copy the source instead.