I have two buttons!
I've not hacked PHP in years, thanks for pointing me in the right direction. It has been thoroughly tested, works like a charm.
-------
As a matter of interest. I have discovered that in a showkase gallery with only one 'page' the mystery resort does not happen.
In a showkase gallery with lots of pages, it happens every time. Even though the other pages are not involved, other than being there. How that fits with the multithreading concept I have no idea.
-------
Steve, if you want to test out the new buttons the steve test server and gallery is still up and running access details the same, but due to the fewer pages the sort issue does not replicate.
I will email you the hacked files, just so you have them. No support expected at all. That was a fun challenge, thanks again for facilitating it.