diff --git a/app.rb b/app.rb index 2e27c854..cb8bb87f 100644 --- a/app.rb +++ b/app.rb @@ -37,7 +37,7 @@ def documentation_path end def commands - $commands ||= Reference.new(JSON.parse(File.read(documentation_path + "/commands.json"))) + $commands ||= Reference.new(JSON.parse(File.read(documentation_path + "/commands.json")).sort().to_h) end def new_redis_connection