Sort a column by variable
Hi,How would I go about creating a new column that contains the sorted values of one column by another variabe?An example to hopefully clarify: if I had a table with two rows: Name and age, how would I create a third row that displays the names sorted from oldest to youngest? Thanks!