How to sort two lists? Sort distance
04-29-2016, 07:06 PM (This post was last modified: 12-06-2019 09:38 PM by StephenG1CMZ.)
Post: #1
 StephenG1CMZ Senior Member Posts: 945 Joined: May 2015
How to sort two lists? Sort distance
Is there a way to sort multiple lists

For example, I have a list of elements
{
{1,H,hydrogen},
{2,He,helium}
}

Which I'd like to present to the user in Alphabetic order of atomic number, symbol, or element name.

I know how to sort manually, but is there a built-in that would help?

SORT looks like it will only sort one list, rather than sorting a list by a key.

I am sure I read of a way, but cannot find it.

Stephen Lewkowicz (G1CMZ)
 « Next Oldest | Next Newest »

 Messages In This Thread How to sort two lists? Sort distance - StephenG1CMZ - 04-29-2016 07:06 PM RE: How to sort two lists? - parisse - 04-29-2016, 07:33 PM RE: How to sort two lists? - primer - 04-29-2016, 09:22 PM RE: How to sort two lists? - StephenG1CMZ - 04-30-2016, 10:04 AM RE: How to sort two lists? - parisse - 05-02-2016, 05:44 AM RE: How to sort two lists? - cyrille de brĂ©bisson - 05-02-2016, 04:56 AM RE: How to sort two lists? - Tyann - 05-02-2016, 05:32 AM RE: How to sort two lists? - Didier Lachieze - 05-02-2016, 06:57 AM RE: How to sort two lists? - Tyann - 05-02-2016, 10:35 AM RE: How to sort two lists? - Didier Lachieze - 05-02-2016, 04:00 PM RE: How to sort two lists? - Tyann - 05-02-2016, 05:10 PM RE: How to sort two lists? - DrD - 05-02-2016, 11:11 AM RE: How to sort two lists? - StephenG1CMZ - 05-02-2016, 12:11 PM RE: How to sort two lists? - cyrille de brĂ©bisson - 05-02-2016, 03:34 PM RE: How to sort two lists? - ailoher - 12-03-2019, 10:24 AM RE: How to sort two lists? - Didier Lachieze - 12-03-2019, 05:02 PM RE: How to sort two lists? - StephenG1CMZ - 12-03-2019, 04:43 PM RE: How to sort two lists? - Albert Chan - 12-03-2019, 06:00 PM RE: How to sort two lists? - StephenG1CMZ - 12-03-2019, 07:30 PM RE: How to sort two lists? - ailoher - 12-05-2019, 06:55 PM RE: How to sort two lists? - StephenG1CMZ - 12-06-2019, 12:30 AM

User(s) browsing this thread: 1 Guest(s)