Sort is unit tested for cuda