2 of 2 people found this helpful
Try using GetSummary ( record count summary field ; sortfield ), where sortField is the field you're sorting the subsummary part on.
1 of 1 people found this helpful
Your summary layout is probably already a List View. If you 'click' (a button on) the sub-summary part, are you wanting to show ONLY those records that have been summarized (branching to list if >1 or form if one)? Can you post a script and/or describe what type of data and what sort field(s)?
BTW: sub summaries are shown in specific views and a "button" may not be possible. I recommend constraining your found set by the field you are using for the sort in the sub summary. Then sort again. You may put a button on the layout (in the body part) that scripts the constrain and can branch to form/list view as needed.