Bitonic sort for keys only? How to use NVIDIA CUDA bitonic sort sample for sorting keys only?

I know there are lot of sorting algorithms developed for GPU and CUDA but I want to try bitonic sort provided in NVIDIA CUDA samples. As I briefly looked into the code, it works for <key,value> pairs.

How could I use it if I just want to sort an array of data? I dont want to create temporary array to simulate <key,value>pair.

Any help will be appreciated.

Please if someone can help here cause I too cannot find much help in explaining how this SortingNetworks bitonic sample works. Bitonic sort should be less lines of code but in the CUDA sample its just impossible for someone to understand how it works… Any help would be nice.