diff --git a/Playlist/PlaylistLoader.m b/Playlist/PlaylistLoader.m index 8da5afa0f..5ca519166 100755 --- a/Playlist/PlaylistLoader.m +++ b/Playlist/PlaylistLoader.m @@ -271,6 +271,9 @@ NSMutableDictionary * dictionaryWithPropertiesOfObject(id obj, NSArray * filterL } } } + + NSSortDescriptor * sd_path = [[NSSortDescriptor alloc] initWithKey:@"path" ascending:YES]; + [urls sortUsingDescriptors:[NSArray arrayWithObject:sd_path]]; return urls; }