counting sort finished