I try to write a custom sort function for array of device_vectors. I finally found out my thrust::sort() gives error before of wrong iterator type with the error message &qu