sort by flags (type), not name

This commit is contained in:
proddy
2024-07-08 12:04:12 +02:00
parent e0d30bfca5
commit 08efccf260

View File

@@ -244,7 +244,7 @@ const Scheduler: FC = () => {
data={{
nodes: schedule
.filter((si) => !si.deleted)
.sort((a, b) => a.name.localeCompare(b.name))
.sort((a, b) => a.flags - b.flags)
}}
theme={schedule_theme}
layout={{ custom: true }}