counting sort still broken