Dataview table for notes with shared list properties

What I’m trying to do

I am trying to make a table that shows notes that share one or more list properties with the current note.

The List property is called “Topics”
I want the related notes to be in a table that is:

  • (1st column) Grouped by their “Index” Property
  • (2nd column) File name/link
  • (3rd column) Topic(s) shared with the current note
  • (4th column) Last Modified

Things I have tried

I don’t know any code, but I tried modifying a different table:

TABLE WITHOUT ID Index AS "Index", rows.file.link AS "File", rows.file.mday AS "Last Modified" 
WHERE Topics = this.Topics AND file.path != this.file.path  AND !"x/Templates"
SORT file.name ASC 
GROUP BY Index SORT Index ASC 

It doesn’t show any results right now (unless I remove the code hiding the current note). I’m sure I’m not using the right syntax for the list property. I also didn’t make the topic column.

I tried googling how to do it, but what I found didn’t work.