order tags by id