trimming and sorting out input editing of twitter handle