My mp3 directories contain filenames consisting of two leading digits in increasing order followed by a blank and further text in alphabetical order.
To properly integrate a new file (or several) into the directory - its file name has not yet a leading number and no blank - I delete '\d\d ' of all files in the directory, then sort the files acording to the text and finally renumber them again. I do this by a group of 'actions' with the exception of the alphabetical sorting.
How can I code the sorting in an action?
To simplify my question I post a minimal example:
Given is a directory containing
'Pandora.mp3' 'Xanthippe.mp3' 'Kassandra.mp3'
The non alphabetical order is a result of a previous action.
How can I get the files into an alphabetical order by an action?