The limit on comparison sorting

A sort that learns only by comparing two items must tell all $n!$ orders apart, and a tree of yes-or-no questions with $n!$ leaves is at least $\log_2(n!) \approx n \log_2 n$ deep, so no comparison sort beats $O(n \log n)$ in the worst case; counting sort escapes by not comparing.

From Data Structures and Algorithms.