Skip to content

Commit

Permalink
Merge pull request #113 from virtualidentityag/staging
Browse files Browse the repository at this point in the history
Merge Staging to release
  • Loading branch information
Leandro13Silva13 authored Jun 26, 2024
2 parents 92ff6b1 + 2b8c8cc commit bef7e80
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,11 @@ export const TopicSelection: VFC<{
{topicGroup.topicIds
.map((t) => getTopic(t))
.filter(Boolean)
.sort((a, b) => {
if (a.name === b.name)
return 0;
return a.name < b.name
? -1
: 1;
})
.sort((a, b) =>
a.titles.long.localeCompare(
b.titles.long
)
)
.map((topic, index) => (
<TopicSelect
key={`${topicGroup.id}-${topic.id}`}
Expand Down

0 comments on commit bef7e80

Please sign in to comment.