def get_sorted_config_labels(testres):
    '\n        helper\n        '
    key = 'qx2_gt_rank'
    (cfgx2_cumhist_percent, edges) = testres.get_rank_percentage_cumhist(bins='dense', key=key)
    label_list = testres.get_short_cfglbls()
    label_list = [((('%6.2f%%' % (percent,)) + ' - ') + label) for (percent, label) in zip(cfgx2_cumhist_percent.T[0], label_list)]
    sortx = cfgx2_cumhist_percent.T[0].argsort()[::(- 1)]
    label_list = ut.take(label_list, sortx)
    return label_list
helper
def get_sorted_config_labels(testres):
    '\n        \n        '
    key = 'qx2_gt_rank'
    (cfgx2_cumhist_percent, edges) = testres.get_rank_percentage_cumhist(bins='dense', key=key)
    label_list = testres.get_short_cfglbls()
    label_list = [((('%6.2f%%' % (percent,)) + ' - ') + label) for (percent, label) in zip(cfgx2_cumhist_percent.T[0], label_list)]
    sortx = cfgx2_cumhist_percent.T[0].argsort()[::(- 1)]
    label_list = ut.take(label_list, sortx)
    return label_list