string one = ("aabbc")
string two = ("adeef")
string three = ("fffdd")
in string one I want to move all pairs to the right, so it will display as "caabbb" (unique character is placed in the first element)
string two would be "adfee" (doesnt matter which unique characters get put in the first elements as long as the duplicated ones are put at the end of the string)
string three would be "ddfff" as there are more duplicates of f
Really havent done much work with sorting strings and I presume this would be incredibly simple so I look forward to the responses :)