Sorting by tag length...

Had a minor disaster the other day, upgraded itunes and for some reason I lost half of my composer tags. Typical as i had just two days before bought a new backup hard drive to back up everything to! anyway, i still have the sort composer tags that i can copy back to the composer tags. Only thing is, i have to change them back into the correct format. No problem with the actions for doing this, but I was wondering if i could set up a column that would sort the sort composer tags into length order. E.g

Weatherly, Frederick, Edward, Cash, Johnny
Watts, Whiteley
Warner
Webb

into

Webb
Warner
Watts, Whiteley
Weatherly, Frederick, Edward, Cash, Johnny

This is so I can just whip out the single name composers and copy them accross to the composer tag, saving me a bit of work!

I have set up another sort composer column, but cannot work out how to sort by word length.

Many Thanks

Steve

Yes:
right-click on any column header in the list view.
Select "Columns ..."
In the subsequent dialogue press "new".
Enter a decent name for the column e.g. "Comp-len".
As value enter
$len(%composer%)
Leave "field" empty.
tick "numeric".
In the list of columns (on the left of the dialogue) make sure that this column "Comp-len" is ticked.
Press OK.
You've got yourself a new column that shows the length of the string in %composer%. You can sort that column as you like.

Fantastic! Many Thanks!

I hadn't thought of doing it like that!

Steve