Ranking answers which category has the largest value. For a fulfilment overview, horizontal bars can show which locations have the most outstanding orders whilst leaving room for their names.
Sort complete rows, not the values alone. Otherwise a chart can display plausible bars with the wrong location labels. Decide how ties are ordered as well; an arbitrary change between equal values makes repeated reports harder to follow.
Compose example
This component makes a sorted display projection without mutating the parent's source order. A durable location identifier breaks ties independently of translated labels.
Enable Fission's charts feature. The parent supplies finite, non-negative counts and translated labels. total_cmp gives a well-defined float ordering; it does not make an invalid measurement valid. Reject unavailable or invalid readings before treating them as a completed report.
Keep ranking separate from action identity
A rank is a position in the current projection, not an identifier for the location. If selecting a bar opens its orders, resolve the selected row to its durable id; do not dispatch the rank as though it identified the same location after filtering or reordering.
Provide exact values in an accessible list, test ties and reordered inputs, and inspect long labels in a real rendering. For a large collection, choose a deliberate top-N view with a route to the full list rather than compressing hundreds of bars into one card. The gallery screenshot uses fixture data.