diff --git a/src/components/image-alt-display.tsx b/src/components/image-alt-display.tsx index 9c729eb..16d6052 100644 --- a/src/components/image-alt-display.tsx +++ b/src/components/image-alt-display.tsx @@ -49,7 +49,7 @@ export function ImageAltDisplay({ images, keyword }: ImageAltDisplayProps) { if (sortOrder === "asc") { return sizeA - sizeB; } else { - return sizeB - a.size; + return sizeB - sizeA; } });