Looking at KDE 5 (plasma 5.20, frameworks 5.78) on Debian 11, there are various places where Activities are ordered differently.
Apparently, what you can do (with caveats, see below) is name or prefix the activities to achieve the desired ordering alphabetically, and choose from those widgets & keyboard shortcuts that obey that ordering.
Configuration:
- The list in System settings -> Workspace Behavior -> Activities:
- Follows alphabetic ordering, but only when you switch away from that view and back in System Settings.
Widgets:
- The "Activity Bar" widget:
- Alphabetical (ordering not configurable)
- The "Activity Pager" widget:
- Alphabetical (ordering not configurable)
- The list/menu shown by the "Activity Manager" widget (always on the display's left hand side)
- Some dynamic/random ordering, maybe by last use (ordering not configurable)
Keyboard shortcuts: behavior triggered by the shortcut in System Settings -> Shortcuts -> System Services / Activity Switching -> ...
- ... Switch to Next/Previous Activity:
- Alphabetic ordering
- ... at least sometimes. While testing this:
- I've seen it randomly get stuck on one specific Activity (prefixed with "2-") while pressing the shortcut repeatedly
- I have an activity prefixed with "9-" somehow placed between activities "1-..." and "2-...". But the ordering remains static.
- Does not show any list / visual feedback when switching activities
- ... Walk Through Activities:
- Some dynamic/random ordering, maybe by last use.
- Shows the same (or similar) list on the display's left as the "Activity Manager" widget while switching.
- ... Show Activity Switcher:
- Shows the same/similar list as "Walk Through Activities" and the "Activity Manager" widget, with dynamic/random ordering.
For more context, there are at least two entries in the bugtracker: