diff options
-rw-r--r-- | emms-source-file.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/emms-source-file.el b/emms-source-file.el index c234d04..6382780 100644 --- a/emms-source-file.el +++ b/emms-source-file.el @@ -178,9 +178,10 @@ value of `emms-source-file-default-directory'." "Return a list of all files under DIR that match REGEX. This function uses `emms-source-file-directory-tree-function'." (message "Building playlist...") - (let ((pl (funcall emms-source-file-directory-tree-function - dir - regex))) + (let ((pl (sort (funcall emms-source-file-directory-tree-function + dir + regex) + 'string<))) (message "Building playlist...done") pl)) |