Skip to content

Commit

Permalink
Merge pull request #52 from NguyenDanPhuong/develop
Browse files Browse the repository at this point in the history
Sort bookmarks
  • Loading branch information
NguyenDanPhuong authored Feb 25, 2017
2 parents 03ca348 + c9ab183 commit 94aea6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MangaRipper/Helpers/ApplicationConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using MangaRipper.Core.Models;
using Newtonsoft.Json;
using NLog;
Expand Down Expand Up @@ -29,7 +30,7 @@ public ApplicationConfiguration()

public IEnumerable<string> LoadBookMarks()
{
return LoadObject<List<string>>(BookmarksFile);
return LoadObject<List<string>>(BookmarksFile).OrderBy(s => s);
}

public void SaveBookmarks(IEnumerable<string> bookmarks)
Expand Down

0 comments on commit 94aea6d

Please sign in to comment.