Skip to content

Commit

Permalink
fix: reverse insertion order (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbach committed Jan 18, 2024
1 parent 7ee3a7e commit d4b74bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/useGetOriginalItemOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const useGetOriginalItemOrder = () => {
] as const
)
// eslint-disable-next-line @typescript-eslint/no-unused-vars
.sort(([_, aPos], [_2, bPos]) => bPos - aPos)
.sort(([_, aPos], [_2, bPos]) => aPos - bPos)
.map(([item]) => item)
);
};

0 comments on commit d4b74bf

Please sign in to comment.