diff --git a/distribusi/distribusi.py b/distribusi/distribusi.py index 148c75a..e961189 100644 --- a/distribusi/distribusi.py +++ b/distribusi/distribusi.py @@ -113,7 +113,7 @@ def write_index(args,index, html, html_head, html_footer): def render_dir(args, root): html = [] - for name in os.listdir(root): + for name in sorted(os.listdir(root)): if args.no_hidden: if name.startswith('.'): diff --git a/sample/notes/20210107T184852+0900_또다른 경우/2.txt b/sample/notes/20210107T184852+0900_또다른 경우/2.txt new file mode 100644 index 0000000..0cfbf08 --- /dev/null +++ b/sample/notes/20210107T184852+0900_또다른 경우/2.txt @@ -0,0 +1 @@ +2 diff --git a/sample/notes/20210107T184852+0900_또다른 경우/3.txt b/sample/notes/20210107T184852+0900_또다른 경우/3.txt new file mode 100644 index 0000000..00750ed --- /dev/null +++ b/sample/notes/20210107T184852+0900_또다른 경우/3.txt @@ -0,0 +1 @@ +3