@Test
void testSort() throws Exception {

  Table t = Table.read().csv("../data/bush.csv");
  TextColumn whoText = t.stringColumn("who").asTextColumn();
  whoText.setName("who text");
  t.addColumns(whoText);
  Table t2 = t.copy();
  t.sortAscendingOn("who text");
  t2.sortAscendingOn("who");
  for (int i = 0; i < t.rowCount(); i++) {
    assertEquals(t.row(i).getString("who text"), t2.row(i).getString("who"));
  }
}