sorting the strings file