Added sortedDictData (subclassing collections.OrderedDict) as a replacement to dictData so we don't have to maintain a list of insertion order ourselves.