[Info-vax] Suggestion: Adding a /SORT option to DIRECTORY and F$SEARCH ?

Phillip Helbig undress to reply helbig at asclothestro.multivax.de
Wed Feb 9 08:49:24 EST 2022


In article <0fc2fca8-4ab4-46aa-bf51-a3ee070b5bd5n at googlegroups.com>,
Steven Schweda <sms.antinode at gmail.com> writes: 

>    It's not too "general"; it's too confused.  If you have one sort
> criterion (say, modification date+time), then you have one sort
> criterion.  And a sort criterion should be a sort criterion, and, as
> such, should not change content selection.

Ideally, one could have several sort criteria, and items would be sorted 
in order of the first one, then the second one, and so on, like 
SORT/KEY:

         You can specify up to 255 key fields in a sorting operation. If
         you do specify multiple keys, decide which is primary, which is
         secondary, and so on; then, in the command string, list them in
         the order of their priority.

         By default, Sort assigns 1 to the first key specified in the
         command line, 2 to the second key, and so on. If you do not list
         the keys in the order of their priority, specify the order of
         each with the parameter NUMBER:n.




More information about the Info-vax mailing list