In the Shortcuts app, when in list view, you can click on a header to sort the shortcuts. However, on my Sequoia computer, the sort is not retained when the Shortcuts app is restarted.
The following shortcut sorts the shortcuts in a specified folder. As written, only 10 or fewer shortcuts can be sorted, but this is only a temporary precaution until the reliability of the shortcut is established. I tested this shortcut without issue, but please create a backup of your shortcuts before running this shortcut.
The following screenshot only shows a portion of the shortcut.
Sort Shortcuts.shortcut (23.2 KB)