Sorts the NumChar action items for the drop down box, because after using a dict inside globals they were no longer sorted.