Improve string sorting.