fix of using locale for sorting