Sort strings

A function to sort strings alphabetically using closures.