Skip to content

Commit

Permalink
fix(packages): Use language-dependent sorting (collation) in indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
Omikhleia authored and Didier Willis committed Jan 2, 2025
1 parent bcf451a commit e823c98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/indexer/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function package:registerCommands ()
for n in pairs(index) do
table.insert(sortedIndex, n)
end
table.sort(sortedIndex)
SU.collatedSort(sortedIndex)
SILE.call("bigskip")
for _, k in ipairs(sortedIndex) do
local pageno = table.concat(index[k], ", ")
Expand Down

0 comments on commit e823c98

Please sign in to comment.