Character Distribution without sorting