sortBy() now accepts index or column object