add an option to sort the stat panel results by label or value