The algorithm addresses something called the library sorting problem (more formally, the “list labeling” problem). The challenge is to devise a strategy for organizing books in some kind of sorted ...
We often sort letters and words in alphabetical order. This means to order them as they appear in the alphabet. When sorting words in to alphabetical order, we look at the first letter of the word.