Making minor name changes to new sorting algorithm - removing locale stuff that doesn't work on MinGW.