add feature to sort catalog like copy II+
Hi and thanks for a great program have been using the original Ciderpress and enjoying it while i move some old prodos files. One thing I was hoping if possible to add file sorting functionality similar to what copy II+ has with its Sort Catalog function?
In particular to add a number system to reorder the list especially for the .system files boot order in Prodos. Would be great to have this functionality on both versions of CiderPress. Happy to volunteer for any testing if and when required. Thanks Tim :-)
This is doable. DOS/ProDOS/Pascal can be sorted, HFS can't, CP/M probably shouldn't be since some versions do weird things (e.g. every 4th entry holds the timestamps for the previous 3 entries).
GUI-wise, I'd probably open a separate dialog with the contents of the directory, and have "move up" / "move down" buttons that allow you to shift the selected entry around, and maybe a quick "sort alphabetically" button. Drag & drop ordering is also possible.
Doing it in the CLI is a little more awkward. Maybe a command that swaps the position of two entries?
FWIW, the easiest way to do this in the current implementation is to create a subdirectory, move all the files into it, then move the files out one by one in the desired order.
(This issue is very similar to #28.)