XPath: RootSiblings
You can use the following XPath:
First List Command XPath : //div[starts-with(@class,'primary-list')]
Second List Command XPath : (root-siblings()/self::div)[starts-with(@class,'secondary-list')]
List 1
Detail 1.1
Detail 1.2
Detail 1.3
List 2
Detail 2.1
Detail 2.2
Detail 2.3
List 3
Detail 3.1
Detail 3.2
Detail 3.3