Sublime Forum

Sort lines: Ignore new line at the EOF


Hello! I often use the sort lines feature and have enabled the option to ensure a new line at the EOF. It is a bit annoying that if I sort the lines of a file with the new line at the EOF, the line gets to the first line since it is considered a regular line in the file (which is not exactly wrong, but kinda conflicts when ensuring the new line).

My point is it may be a quick win and provide a better sorting experience if an option for ignoring the empty line in the EOF when sorting is added.