Skip to content

Commit

Permalink
fix: sort by link with desc para
Browse files Browse the repository at this point in the history
  • Loading branch information
linyibing committed Mar 20, 2024
1 parent 1f557a9 commit 0d27206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/periodic/Bullet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class Bullet {
const groupResult = result.groupBy((elem) => {
return elem.link;
});
const sortResult = groupResult.sort((elem) => elem.rows.link as Link);
const sortResult = groupResult.sort((elem) => elem.rows.link as Link, 'desc');
const tableResult = sortResult.map((k) => [
k.rows.text as string,
k.rows.link as Link,
Expand Down

0 comments on commit 0d27206

Please sign in to comment.