Best way to sort one list based on another?
|
07-04-2015, 08:00 PM
Post: #4
|
|||
|
|||
RE: Best way to sort one list based on another?
There isn't a PPL built-in function to list in using another list as a key.
As others have suggested one can write your own sort function. However, the Prime appears to have built-in buttons that can do something very similar for spreadsheet columns and to three columns of statistical data. And it can turn lists into columns. These built-in features might be of some use if you wanted to avoid writing your own sort function - but they cannot be accessed from the PPL as far as I know. It seems a pity that spreadsheets and statistical apps can do such a sort, but lists and the PPL cannot (or have I missed something?) Perhaps this could be added in a future PPL? Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Best way to sort one list based on another? - BruceH - 07-04-2015, 10:40 AM
RE: Best way to sort one list based on another? - roadrunner - 07-04-2015, 02:52 PM
RE: Best way to sort one list based on another? - DrD - 07-04-2015, 06:51 PM
RE: Best way to sort one list based on another? - StephenG1CMZ - 07-04-2015 08:00 PM
RE: Best way to sort one list based on another? - BruceH - 07-04-2015, 09:53 PM
RE: Best way to sort one list based on another? - Tyann - 07-05-2015, 06:03 AM
RE: Best way to sort one list based on another? ANSWERED - BruceH - 07-05-2015, 07:34 AM
RE: Best way to sort one list based on another? - Tyann - 07-05-2015, 06:27 PM
|
User(s) browsing this thread: 1 Guest(s)