feat: Sort the available length units numerically

Length units are now sorted ascending by the value the prefix represents, i.e. METER is listed before KILOMETER, ...
This commit is contained in:
Blender Defender
2024-07-26 11:13:45 +02:00
committed by Dion Moult
parent fad4ea82a7
commit f83a7ac730
@@ -28,22 +28,22 @@ import typing
LengthUnit = typing.Literal[
"ATTOMETER",
"CENTIMETER",
"DECAMETER",
"DECIMETER",
"EXAMETER",
"FEMTOMETER",
"GIGAMETER",
"PICOMETER",
"NANOMETER",
"MICROMETER",
"MILLIMETER",
"CENTIMETER",
"DECIMETER",
"METER",
"DECAMETER",
"HECTOMETER",
"KILOMETER",
"MEGAMETER",
"METER",
"MICROMETER",
"MILLIMETER",
"NANOMETER",
"PETAMETER",
"PICOMETER",
"GIGAMETER",
"TERAMETER",
"PETAMETER",
"EXAMETER",
"INCH",
"FOOT",
"MILE",