Sorting is the act of arranging content according to established rules. The act of deciding how to sort something within a taxonomy is called classification.

Classification can be exact or ambiguous.

Postal code vs Movie genre.