For certain types of product attributes, e.g. dropdowns and swatches, one specifies the valid values in the Admin Panel. These are used in filters etc. in the shop frontend, usually in the order specified in the backend. Alas, admins can only sort the entries manually by drag-and-drop there!
I wish product attribute values could be sorted automatically on request in the Admin Panel:
alphabetically (case-sensitive and not),
numerically (i.e. "1, 5, 10" instead of "1, 10, 5")
intelligently by actual size like "1 mm, 5 mm, 1 cm, 2 cm, 1 in" or "XS, S, M, L, XL, XXL, 3XL"
for color swatches, by hue or (preferably OKLab) lightness and possibly other color parameters.