Sort by Selected

If I have a folder of, say 100 files and I checkbox tick or select 4 of them, how can I sort on those ticked or selected files.
To clarify, if I have "file001.jpg" through "file100.jpg" and I select "file001/009/020/078.jpg, how can I sort them so that the selected files are sorted in their order at the top of the list with the unselected files below?

I'm not sure there is a quick/easy way to sort the selected items to the top (it'd probably involve manual sort; maybe a script could do it), but if you just want a quick way to focus on what's selected, you could hide the unselected items:

select nopattern hideunsel

Then return to normal with:

select nopattern showhidden

That will do for now - thanks Leo.

Would there be any way to toggle that button, Leo? I've tried a couple of ways to 'showhidden' after "hideunsel" but it looks to me that I'll need two buttons.

Could be made into a toggle using a small script, since they can check hidden counts.

Using two buttons (or left/right click on a three-button) is easiest, though.