Exposed the rearrangeTags method