adding ordering to the tags. Fixes #74