fix count sort