How can a list of distinct layer names be exported?

Please search for existing topics before posThere are approximately 750 distinct top level levels in the Figma file I use (ie screens and modals).
Each of them has a special name, or was intended to.

I want to get a list of the layer names so that I can: (a) check their uniqueness using a spreadsheet; (b) check that they follow the naming convention; and (c) fill a custom design mgt database with additional information about screen usage.

To assist with a manual version of (a) and (b), I have utilised the Sorter plugin (quite useful), but it is very manual and error prone.ting! Press :mag: at the upper right to search.