How do I sort by taxonomy term parent, and then by post date? I have the following taxonomy structure:

Locations


Group 1

Location 1
Location 2

Group 2

Location 3
Location 4

Group 3

Location 5
Location 6



Pieces of content are being posted to the site, and each piece of content has a location and a post date associated with it.  When the view is displayed, how can the results be grouped by parent term ID (group 1-3), and then grouped by post date within each group?

I've tried using the "taxonomy term: name" sort criterion, but then adding the "content: post-date" criterion seems to have no effect.
I think I found a way to do this--I added the "content: taxonomy terms on node" and "taxonomy term: parent term" relationships to the view.

The key is the "taxonomy term: name" criterion has a checkbox where I selected "parent", which appears only after you add the relationship.  I added the post-date sort criteria after that, and it appears to be working the way I want.