Skip to content

Commit

Permalink
Sort categories in the main menu (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
aglitchman authored Oct 19, 2024
1 parent 047aa7f commit fbb49d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/_main/examples.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ local categories = {}
for category,_ in pairs(examples) do
categories[#categories + 1] = category
end
table.sort(categories)

for category,examples_in_category in pairs(examples) do
for id,example in pairs(examples_in_category) do
Expand Down

0 comments on commit fbb49d0

Please sign in to comment.