Well, Matthias, let me try to explain in a different way.
In a view VIEW A (sorted by Person UUID), say 1000 activity documents.
I want to grab about 250 of those, and bring them back to the xpage, and sort them by year (not by Person UUID.)
The 250 activity records that I want will be those whose UUIDs match people in another view VIEW B. (Those people in that other view have been selected by a view selection formula.)
So, say in VIEW B I have three people: Bob (UUID 19762), Mary (UUID 2222222), Mark (UUID 333333)
I want to go to VIEW A, grab all activity documents that have their UUIDs in them.
Return to xpage
Present just the activity, like this:
> 2011
7 April 2011 -- Mary -- Letter
1 Jan 2011 -- Bob -- Email
> 2010
12 Dec 2010 -- Mark -- Phone Call
7 July 2010 -- Mary -- Email