Added sorting to non-blackboard database dumping.
Merge pull request #696 from alexjacks92/IdsToPaths

Added sorting to non-blackboard database dumping.