sorting of data source is working