fix #2664: List sorting does not respect locale