I was just wondering what is the step complexity of the thrust::sort function and what are work and step complexity of the thrust::unique_by_key function.
Based on my knowledge, I think the work complexity of sorting is O(N log N). But I have no idea what it is for the unique_by_key operation.