Forum: Cfengine Help
Subject: Re: Sorting an slist
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,22550,22582#msg-22582
FYI, the order the comes out of getindices is the hashing order in the hash
table. It might be useful to permit some sort functions eventually, but
generally
Forum: Cfengine Help
Subject: Re: Sorting an slist
Author: Authority
Link to topic: https://cfengine.com/forum/read.php?3,22550,22581#msg-22581
Aha! Thanks, Diego.
So using your first suggestion, it is clear to me that getindices is populating
the slist out of order, but I don't like the idea o
Forum: Cfengine Help
Subject: Re: Sorting an slist
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,22550,22579#msg-22579
Wes,
Not very elegant, but you could define a list in the order you want and iterate
over that instead of getting the indices from the array:
"dns_idx"
Forum: Cfengine Help
Subject: Re: Sorting an slist
Author: nba1314
Link to topic: https://cfengine.com/forum/read.php?3,22550,22575#msg-22575
Yesterday I was in the game to buy equipment, the result has been deceived many
Runescape Gold. Later, my friend told me that person in the long game fool