@Test
public void iterateOverRowsWithSort() {

  Selection selection = Selection.withRange(0, 5);
  TableSlice tableSlice = new TableSlice(source, selection);
  tableSlice.sortOn(Sort.on("approval", Order.ASCEND));
  Integer[] expected = new Integer[] {52, 52, 53, 53, 58};
  Integer[] actual =
      Streams.stream(tableSlice).map(r -> r.getInt("approval")).toArray(Integer[]::new);
  assertArrayEquals(expected, actual);
}