code: public static int cusparseXcsrsort_bufferSizeExt(
          cusparseHandle handle, 
          int m, 
          int n, 
          int nnz, 
          Pointer csrRowPtrA, 
          Pointer csrColIndA, 
          long[] pBufferSizeInBytes)
      {
          return checkResult(cusparseXcsrsort_bufferSizeExtNative(handle, m, n, nnz, csrRowPtrA, csrColIndA, pBufferSizeInBytes));
      }
docs: Description: Sort sparse matrix stored in CSR format