Answered
Sort character styles by name
Hey guys,
Does anyone know how I can sort the paragraph styles of a document by name using Javascript?
(The same as choosing 'Sort by Name' in the paragraph style fly-out menu)
app.activeDocument.characterStyles.keys(list).sort(function(a,b){return list-list});Thanks,
Bruno
