Add schemas code

`.sortBy(x => (x._1.sortOrder, x._1.name))