TextEditor: sort scripting languages by name

In the index, the languages are sorted by priority first, then
lexicographically by class name. That ordering is hardly intuitive for
the user; alphabetic is a stronger visible ordering for them.
POM: bump to pom-imagej 2.40
Bump to next development cycle

Signed-off-by: Jenkins <jenkins@dev.loci.wisc.edu>
Merge remote-tracking branch 'upstream/master'