Do you want to change the way the list of shared albums is sorted or the sequence of the photos in the shared albums?
You can sort the photos in the shared albums (since macOS 13 Ventura) by using the View menu. Select the shared album in the sidebar, then use the command "View > Sort " and select one of the three sort options.
This will sort the shared album on your device, but not change the sort orden on the devices of the other subscribers.
The list of the shared albums cannot be rearranged, however. You have to create the shared albums in the order you want them to appear in your library.