complete bucket sort and fix a insertion recursive sort bug