Fixed sorting of strings