We just noticed that the default CompletionItemSortComparer comparer used by CompletionSession.SortItems appears to use orindal string sorting. We would like to switch to non-ordinal (ex. current culture) sorting so that characters such as "é" are sorted properly together with character "e", instead of being placed at the end just because of their numerical value used by ordinal sorting. I can easily use CompletionSession.SortItems with a custom comparer to achieve this, but I am wondering if you could possibly add an optional way to configure CompletionItemSortComparer with a different string comparison mode (ex. StringComparison enum value or IComparer<string>). The only reason I would ask for that is that so we do not have to figure out and duplicate any logic that your comparer has based on the completion session (since the comparer takes an argument of ICompletionSession), since the only thing we want to change is the actual string sort. Once the comparer would be configurable, we could just pass it in to SortItems instead of using the default behavior.
[Modified 6 years ago]