Added SortOrder to XML for document types (used by export)

Added ability for doctype importer to set the sort order if a sort order element is available
Merge pull request #227 from mattbrailsford/6.2.0-3454

Maintains tab sort order for doc type imports/exports.