TagSet sorted printing

Useful for serialization and comparison.
Return an err on bad status

Previously was returning nil.