a new setting option 'localeCompare': if use String.localeCompare to compare strings
if custom sortFunction returns undefined, the regular sort will be used
fixed: the 'order' setting does not work on custom sortFunction
add a missing line