Sure, here's what they are in the view I posted:
[ImportMonth] = formatdate([date imported],0),MM)
[ImportYear] = formatdate([Date Imported,0],yyyy)
[ImportDay] =formatdate([Date Imported,0],dd)
[Imported] =[ImportYear]\[ImportMonth]\[ImportDay]&DataType=[List]
The view uses [Imported] for the category/tree, while the columns in the
view below show [ImportMonth], etc, though really they could be omitted and the
view could still use them for it's default sort pattern.
I know it's not quite the same, and maybe I'm just missing what you want, but with respect to
your question, I was wondering if you could do something like:
[field1] = listitem([yourstring],0,\)
[field2] = listitem([yourstring],1,\)
etc.
that's why I was wondering if you had a max # of possible fields. If your tree could only go to a max level
six deep, just have [field1] to [field6]. But I'm unclear whether what you then want to sort on is always
going to be, say, the nth-level field, or if you want to sort on "the last one." I wasn't sure from the image
where [chart weeks] came from. Is [chart weeks] always the 6th item, always 'the last item', or what's the
formula for determining it? ie If it comes from 'the last part of the string'- so for string one, [chart weeks] could
be the 5th item, yet for the next string it might be the sixth item, you would need to create another field,
[lastiteminstring], say, and use something like
[lastiteminstring]=right([yourstring],3).
Is this close to what you're looking for?