cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
hogi
Level XIII

Table: sort by multiple columns?

How can I sort a table by multiple columns.

In a data table, when I select multiple columns and sort the table via right click:

hogi_0-1721478591886.png

 

the table is always sorted from "left to right" - the sort column on the left is the dominant one
... even if I change the order in which I select the columns.

 

Via JSL, I can adjust the order:

dt  << Sort(By( :sex, :age ));

dt  << Sort(By( :age, :sex ));

How to do the trick via the GUI?

 

Another question:
How to sort TableBoxes by multiple columns?

1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: Table: sort by multiple columns?

1 REPLY 1
jthi
Super User

Re: Table: sort by multiple columns?

Use Sort platform

jthi_0-1721479198026.png

jthi_1-1721479205997.png

 

-Jarmo

Recommended Articles