Fix bucket sort.