Skip to content

Commit

Permalink
chore: update logic
Browse files Browse the repository at this point in the history
  • Loading branch information
linxianxi committed May 23, 2024
1 parent c06a8bc commit 19b1ef7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/utils/algorithmUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,5 @@ export function generateIndexesWithSticky(
}
});

indexArray.sort((a, b) => a - b);
return indexArray;
return indexArray.sort((a, b) => a - b);
}

0 comments on commit 19b1ef7

Please sign in to comment.