strings: sorting an array of strings