Merge pull request #1313 from 2m/inspect-sort-keys

Sort setting key names in the inspect tree view
This commit is contained in:
Josh Suereth 2014-05-07 10:26:24 -04:00
commit 8d3efea45d
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ case class SettingGraph(name: String,
} getOrElse { "" }
def dependsAscii: String = Graph.toAscii(this,
(x: SettingGraph) => x.depends.toSeq,
(x: SettingGraph) => x.depends.toSeq.sortBy(_.name),
(x: SettingGraph) => "%s = %s" format (x.definedIn getOrElse { "" }, x.dataString))
}