"...Ascending is implied when you sort numeric. "
"Ascending" is the default regardless of the sortKey.
Craig
--
Sent from:
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html
___
use-livecode mailing list
Ascending is implied when you sort numeric.
If you want to sort it the other way round use: sort lines of fld 1 numeric
descending by item 2 of each
Tore
> 7. des. 2017 kl. 00:47 skrev Dr. Hawkins via use-livecode
> :
>
> Yes, that did it. I had the item del,
On Wed, Dec 6, 2017 at 3:34 PM, Klaus major-k via use-livecode
wrote:
> set itemdel to "_"
> sort lines of fld 1 numeric by item 2 of each
I *thought* that that was in there somewhere, but I didn't see it when
I pulled the dictionary page :( For that matter,
Hi Richard,
> Am 07.12.2017 um 00:29 schrieb Dr. Hawkins via use-livecode
> :
>
> Now that I've hit ten numbered items, I'm having an issue with
> maintenance routines.
>
> If I have the items
>
> p13_1.07
> p13_1.08
> p13_2.04
> p13_10.01
>
> I want them
You could always try to set the itemDelimiter to _ and then sort the lines
numeric by last item of each.
Tore Nilsen
> 7. des. 2017 kl. 00:29 skrev Dr. Hawkins via use-livecode
> :
>
> Now that I've hit ten numbered items, I'm having an issue with
> maintenance
Now that I've hit ten numbered items, I'm having an issue with
maintenance routines.
If I have the items
p13_1.07
p13_1.08
p13_2.04
p13_10.01
I want them to sort in that order. However, the 10 will sort between
the 1s and 2s.
Is there a "decent" way to do this without a custom