so did you try to do a comparison between strings
essentially there is no difference between comparing strings, numbers or whatever, thats all that changes in your sort.
if you want to be a bit greasy use the existing sort mechanism and provide overloaded methods to handle strings.
therefore you have a sort routine that can handle both.