Skip to content

Commit

Permalink
build ordered resources.. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
KircMax authored Jan 2, 2023
1 parent 4034e1c commit 804e2d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public List<ApiFileResource> RecursiveGetResources(ApiFileResource resource, Api
}
}
}
return resources;
return resources.OrderBy(el => el.Type).ThenBy(el => el.Size).ToList();
}
}
}

0 comments on commit 804e2d8

Please sign in to comment.