Voleon interview question

Give algorithm to classify strings by unordered letters contained.