fixed cuda_nodify() bugs, changed sortify() to call sortify_bubble()