: Tue, Jan 10, 2012 9:33 am
Subject: Re: Sorting Advice
Hi Marty,
I'm not too familiar with the sort command but it sounds like you could use
the each keyword and write a custom function to return the concatenated
values of items 1 and 2 (zero padding item 2 so you could sort works on
text),
Hi Marty,
I'm not too familiar with the sort command but it sounds like you could use
the each keyword and write a custom function to return the concatenated
values of items 1 and 2 (zero padding item 2 so you could sort works on
text), thus sorting in 1 pass. I have no idea whether it would be a
OK, so I'm good. Just though I might be missing something. Thanks Stephen.
Marty
I think one has to make multiple passes - the doc say for "sort container":
*The sort container command is a stable sort. This means that if the
sortKey for two items or lines is the same, sorting does not change t
I think one has to make multiple passes - the doc say for "sort container":
*The sort container command is a stable sort. This means that if the
sortKey for two items or lines is the same, sorting does not change their
order, so you can do two successive sorts to create subcategories within
the ma
I have a list that I'm currently sorting as follows:
--item 2 may be a word or a number
--item 1 is a date
sort the lines of myList by item 2 of each --sort any words alphabetically
sort the lines of myList numeric by item 2 of each --sort the numbers
(any words go to the top of the list in the