Attemp to used OrderedDict to sort the programdict