I have strings like this:

var a = "ABCFE";

Is there a simple way that I can sort this string into:

ABCEF

Thanks

Edit
Report