[Info-vax] Suggestion: Adding a /SORT option to DIRECTORY and F$SEARCH ?
alanfe...@gmail.com
alanfeldman48 at gmail.com
Wed Feb 9 11:54:32 EST 2022
On Wednesday, February 9, 2022 at 8:49:27 AM UTC-5, Phillip Helbig (undress to reply) wrote:
> In article <0fc2fca8-4ab4-46aa... at googlegroups.com>,
> Steven Schweda <sms.an... 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.
Then the various versions of a file will be scattered in the list, making it difficult to deduce if the one you are looking at is the current/highest/whatever version. Unless you use version number as your primary key! Which would be pretty silly.
More information about the Info-vax
mailing list