#6698: IDLE now opens just an editor window when configured to do so.
Issue #17357: Add missing verbosity messages when running under
-v/-vv that were lost in the transition to importlib.
list slotdefs in offset order rather than sorting them (closes #17610)

This means we can remove our usage of qsort() than relied on undefined behavior.