Deprecated SortedDict (replaced with collections.OrderedDict)

Thanks Loic Bistuer for the review.