Thrust CPU Sort working very well