Random sort implementations