From d861783fd761fd3d8591e196df83eb26af3bef70 Mon Sep 17 00:00:00 2001
From: Lars Trieloff <trieloff@adobe.com>
Date: Mon, 23 Apr 2018 07:24:13 +0000
Subject: [PATCH] Sort by schema title

---
 templates/md/readme.ejs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/md/readme.ejs b/templates/md/readme.ejs
index bb22497..a275b9c 100644
--- a/templates/md/readme.ejs
+++ b/templates/md/readme.ejs
@@ -10,6 +10,6 @@
 
 <% _.forIn(groups, (schemas, group) => { %>
 ## <%= group %>
-<% _.forEach(schemas, schema => { %>
+<% _.forEach(_.sortBy(schemas, [o => { return o.title }]), schema => { %>
 * [<%= schema.title %>](.<%= schema.relative %>.schema.md) – `<%= schema.id %>`<% }); %>
 <% }); %>
-- 
GitLab