sort sub
This commit is contained in:
parent
85956ac531
commit
9688e63073
@ -128,7 +128,7 @@ string FormatDeps(string filename, int linenum, string deps)
|
|||||||
var first = true;
|
var first = true;
|
||||||
for (var i = 0; i < data.Count; i++)
|
for (var i = 0; i < data.Count; i++)
|
||||||
{
|
{
|
||||||
foreach (var d in data[i])
|
foreach (var d in data[i].OrderBy(p => p.clean))
|
||||||
{
|
{
|
||||||
if (!first) result += "\n";
|
if (!first) result += "\n";
|
||||||
result += $"{indent}\"{d.clean}\",";
|
result += $"{indent}\"{d.clean}\",";
|
||||||
|
Loading…
Reference in New Issue
Block a user