Changed textbox sorting to tags