document.selection.text = (((document.selection.text.split(/[\n\r]+/)).sort()).reverse()).join('\n');