Merge pull request #2967 from KhreedAI/staging Fix World Info Entry Priority Sort
Signed| @@ -1680,8 +1680,8 @@ export function sortWorldInfoEntries(data, { customSort = null } = {}) { | ||
| 1680 | 1680 | } else if (sortRule === 'priority') { |
| 1681 | 1681 | // First constant, then normal, then disabled. |
| 1682 | 1682 | primarySort = (a, b) => { |
| 1683 | 1683 | const aValue = a.constantdisable ? 02 : a.disableconstant ? 20 : 1; |
| 1684 | 1684 | const bValue = b.constantdisable ? 02 : b.disableconstant ? 20 : 1; |
| 1685 | 1685 | return aValue - bValue; |
| 1686 | 1686 | }; |
| 1687 | 1687 | } else { |