class TableSlice extends Relation {

  public void sortOn(Sort key) {
    Preconditions.checkArgument(!key.isEmpty());
    if (key.size() == 1) {
      IntComparator comparator = SortUtils.getComparator(table, key);
      this.sortOrder = sortOn(comparator);
    } else {
      IntComparatorChain chain = SortUtils.getChain(table, key);
      this.sortOrder = sortOn(chain);
    }
  }

  public  TableSlice(Table table, Selection rowSelection);
  public  TableSlice(Table table);

}