BF: ensure ordering of OrderedDict keys

Test was failing because of unexpected key ordering - closes gh-2503.
Merge pull request #2505 from matthew-brett/mat-dict-py33-fixes

BF: ensure ordering of OrderedDict keys