Pyright sets different `sortText` based on whether a given completion item was recently resolved. This probably lines up with VSCode's way of resolving items, but it's a no-no for us, as it makes completions unstable. Closes #9983 Release Notes: - python: Fixed code completions having arbitrary order when using Pyright/basedpyright