Enumerate text as a range

Fill all selected text layers with incrementing range 1, 2, 3, … N.
Where N is number of selected items.
Wrong order bugfix

Fixed wrong order if neighbours have several pixel spread.