In typesetting, a sort is a character.
A letter let's say. Or a number, or a glyph. So, when you are out of sorts, you are literally unable to communicate any longer. Well, here's a whole alphabet with enough sorts to get those little ones up to speed and talking and reading all other sorts of things.