which would be just fine. However, this does not seem to be implemented.

I made it invokable in 2181

  1. Some packages like acronym need their input lines sorted. Again, the script is not too hard to write, but it would be helpful to have it integrated in the editor.

I have a (ugly) sorting script:

%SCRIPT
var a = new Array();
for (var i=0;i<editor.document().lineCount();i++)
a.push(editor.text(i));
a.sort();
var t = "";
for (var l in a) t+= a[l]+"\n";
editor.setText(t);

No big deal, and not urgent, but surprising.

SyncTeX always does this afaik, there is no (simple) way around