Question
Script to group layers with similar postScriptName
Hello. I have several documents with many text layers and I wish to sort the text layers into 2 groups at least. I want all similar fonts to be in their respective new groups, as shown in the example below.

Note that the actual documents can also contain image layers but I only want the text layers to be sorted, regardless of the layer order.
