Updated `data.sort()` to utilize the Deferred returned from `data.select()`