 extern "C"
 void radixSortKeysOnly(uint *keys,
                        const CUDPPRadixSortPlan *plan, 
+                       size_t numElements,
                        bool flipBits, 
-                       size_t numElements,
                        int keyBits)
 {
 

extern "C"
void radixSortFloatKeysOnly(float *keys, 
                            const CUDPPRadixSortPlan *plan,                        
                            bool  negativeKeys,
                            size_t numElements,
                            int keyBits)
{
    radixSortKeysOnly((uint*)keys, plan, negativeKeys, numElements, keyBits);

        switch(plan->m_config.datatype)
        {
        case CUDPP_UINT:
            radixSortKeysOnly((uint*)keys, plan, 
                              numElements, false, keyBits);
            break;
        case CUDPP_FLOAT:
            radixSortFloatKeysOnly((float*)keys, plan, 
                                    numElements, true, keyBits);
        }
    }
    else
