@Test
public void iterationWithSelectionAndOrder() throws IOException {

  Table table = Table.read().csv("../data/bush.csv");
  TableSlice tableSlice = new TableSlice(table, Selection.withRange(0, 5));
  tableSlice.sortOn(Sort.on("approval", Order.ASCEND));
  Row row = new Row(tableSlice);
  Integer[] expected = new Integer[] {52, 52, 53, 53, 58};
  Integer[] actual = Streams.stream(row).map(r -> r.getInt("approval")).toArray(Integer[]::new);
  assertArrayEquals(expected, actual);
}