Change store order of objects so referenced objects stored first (faster to load)
Merge pull request #678 from rnsmith/i648

Change store order of objects so referenced objects stored first (faster...