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[ LengthUnit = typing.Literal[
"ATTOMETER", "ATTOMETER",
"CENTIMETER",
"DECAMETER",
"DECIMETER",
"EXAMETER",
"FEMTOMETER", "FEMTOMETER",
"GIGAMETER", "PICOMETER",
"NANOMETER",
"MICROMETER",
"MILLIMETER",
"CENTIMETER",
"DECIMETER",
"METER",
"DECAMETER",
"HECTOMETER", "HECTOMETER",
"KILOMETER", "KILOMETER",
"MEGAMETER", "MEGAMETER",
"METER", "GIGAMETER",
"MICROMETER",
"MILLIMETER",
"NANOMETER",
"PETAMETER",
"PICOMETER",
"TERAMETER", "TERAMETER",
"PETAMETER",
"EXAMETER",
"INCH", "INCH",
"FOOT", "FOOT",
"MILE", "MILE",