Sorting list of lists
JMP12How to sort a list of lists by one list in the list of lists?For example I want to sort by the numeric part of this list. I know I could iterate or make a table to sort this way, but is there a one-liner I don't know of? I feel like there must be an easier way to do it. list = {{"a", "b", "c", "d"}, {2, 3, 4, 1}};
a,2b,3c,4d,1 (list[1] and list[2] sorted by list[2]){{"d", "a", "b", "c"}, {1, 2
...