diff --git a/src/utils/sortCards.js b/src/utils/sortCards.js index 801d172..76da2cb 100644 --- a/src/utils/sortCards.js +++ b/src/utils/sortCards.js @@ -1,6 +1,6 @@ // Sorts the order of the cards on the home page export function sortCards(cards) { return cards.sort((a, b) => - a.data.order > b.data.order ? 1 : a.data.order < b.data.order ? -1 : 0, + a.data.order > b.data.order ? -1 : a.data.order < b.data.order ? 1 : 0 ); }