repair slicesort by updating it to Uint32Array