Sort by tagged

Hi all!
With DO 8, is there a way to sort files in check-box mode based on their tagged status?
Also is there a way to show/hide specific files like selected,unselected, tagged etc?
Thanks in advance

These hide selected/unselected files:

Select NOPATTERN HIDESEL
Select NOPATTERN HIDEUNSEL

In checkbox mode tagged means "selected" to the commands so they will hide the tagged/untagged items.

If you're in checkbox mode and you want to hide the selected (not tagged) items then you can do so with a command which exits checkbox mode, hides the selected items, then re-enters checkbox mode. (The checkbox states are preserved.)

Set CHECKBOXMODE=Off Select NOPATTERN HIDESEL Set CHECKBOXMODE=On

I don't think there's any way to sort by tagged/selected; only filter.

thanks!
so i just create a new button with the previous code to show/ hide tagged items?

Yup!

thanks!
so i just created a new button with the previous codes to show/ hide tagged ,untagged items, but I can't make the toggle from hiding sel/unselected..to showing them back ultimately it hides them all and i have to exit the folder and enter again.

I have a 3button with
LMB: show selected
(i tried modifying your expression but doesnt work):
Select NOPATTERN SHOWSEL
and the rest as you posted:
MMB: Hide Unselected
Select NOPATTERN HIDEUNSEL
RMB: Hide unselected:
Select NOPATTERN HIDESEL
any help?
tks

Depending on exactly what you want, some combination of the DESELECTNOMATCH, MAKEVISIBLE and SHOWHIDDEN arguments should do it. See the manual for exactly what they do.