diff --git a/frontend/src/shared/components/Card/index.tsx b/frontend/src/shared/components/Card/index.tsx
index acd223d..53da47d 100644
--- a/frontend/src/shared/components/Card/index.tsx
+++ b/frontend/src/shared/components/Card/index.tsx
@@ -166,20 +166,23 @@ const Card = React.forwardRef(
}}
>
{labels &&
- labels.map(label => (
- {
- if (setToggleLabels) {
- setToggleLabels(false);
- }
- }}
- variant={labelVariant ?? 'large'}
- color={label.labelColor.colorHex}
- key={label.id}
- >
- {label.name}
-
- ))}
+ labels
+ .slice()
+ .sort((a, b) => a.labelColor.position - b.labelColor.position)
+ .map(label => (
+ {
+ if (setToggleLabels) {
+ setToggleLabels(false);
+ }
+ }}
+ variant={labelVariant ?? 'large'}
+ color={label.labelColor.colorHex}
+ key={label.id}
+ >
+ {label.name}
+
+ ))}
{editable ? (