Sorted the count, before printing it