diff --git a/apps/scandic-web/stores/destination-data/helper.ts b/apps/scandic-web/stores/destination-data/helper.ts index 842e06b25..04a2c4d33 100644 --- a/apps/scandic-web/stores/destination-data/helper.ts +++ b/apps/scandic-web/stores/destination-data/helper.ts @@ -56,7 +56,7 @@ export function getSortedHotels( sortOption: SortOption ) { const sortFn = HOTEL_SORTING_STRATEGIES[sortOption] - return sortFn ? hotels.sort(sortFn) : hotels + return sortFn ? [...hotels].sort(sortFn) : hotels } export function isValidSortOption(