Fix invalid ordering when local_perf_bar_mode is "worst"

The default Javascript sort implementation is lexicographic rather than
numeric, leading to 100 being sorted before 20.