Re: Sorting Advice

2012-01-15 Thread dunbarx
: 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),

Re: Sorting Advice

2012-01-10 Thread Pete
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

Re: Sorting Advice

2012-01-10 Thread Marty Knapp
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

Re: Sorting Advice

2012-01-09 Thread stephen barncard
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

Sorting Advice

2012-01-09 Thread Marty Knapp
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