add indexOf to DataSource
List batches setData update calls - fixes a bug where code in a Cell's setData method couldn't rely on the DataSource contents being stable: by calling setData before rendering, ensures that all elements before the next render are added and sorted