Here is the list in disorder:
82837598374982756389/0/
92837598374982756389/7/
92837598374982756389/3/
92837598374982756389/2/
82837598374982756389/5/
92837598374982756389/25/
I would like this sorted list as follows:
92837598374982756389/25/
92837598374982756389/7/
92837598374982756389/3/
92837598374982756389/2/
82837598374982756389/5/
82837598374982756389/0/
I wish the first and second elements sorted in descending order! (at the same time)
I could just do this:
Code: Select all
set the itemDelimiter to numToChar(47)
sort lines of field "sort" descending numeric by item 1 of each & item 24 of each
Here's my pigcode
Code: Select all
set the itemDelimiter to numToChar(47)
sort lines of field "sort" descending numeric by item 1 of each & descending numeric item 24 of each
Thank you all!
(=*.*=) Mariasole
