Sort by Tag Length?

If this isn't really possible, that's fine, but just like how you can sort by path length, can you find the number of tags in metadata and sort everything that way? This is probably super easy to do, I just don't know how, thanks.

Not built-in, but it could be done via a script column.

Save ColumnTagCount.js.txt to

%appdata%\GPSoftware\Directory Opus\Script AddIns

Toggle column with

Set COLUMNSTOGGLE="scp:TagCount/TagCount(!,a,0)"
function OnInit(initData) { = 'TagCount';
    initData.version = '2023-05-22';
    initData.copyright = '';
    initData.default_enable = true;
    initData.min_version = '12.0';

function OnAddColumns(addColData) {
    var col = addColData.AddColumn(); = 'TagCount';
    col.method = 'OnColumn';
    col.justify = 'right';
    col.type = 'number';

function OnColumn(scriptColData) {
    if (!scriptColData.item.metadata) return;
    if (!scriptColData.item.metadata.tags) return;
    scriptColData.value = scriptColData.item.metadata.tags.count;


Cool, thank you.