aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/core/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c
index 621831c..a248f58 100644
--- a/src/lib/core/utils.c
+++ b/src/lib/core/utils.c
@@ -801,6 +801,7 @@ struct StrList *listdir(const char *path) {
strlist_append(&node, fullpath);
guard_free(fullpath);
}
+ strlist_sort(node, STASIS_SORT_ALPHA);
closedir(dp);
return node;
}