How to sort a string in ruby?
Possible duplicate:
How to sort the characters in a string alphabetically?
Assuming there is a simple string str = "bacd" I want to sort it so that the result contains result = "abcd"
How do I do this in Ruby?
+3
source to share