order tags
some tag validation stuff