diff options
| author | Eric Reed <ebr@mediabrowser3.com> | 2013-12-09 09:24:21 -0500 |
|---|---|---|
| committer | Eric Reed <ebr@mediabrowser3.com> | 2013-12-09 09:24:21 -0500 |
| commit | 83c4d75b1484ad7e7aa99a1abba8b7903391ec95 (patch) | |
| tree | 00d426fd355a6bb0a0d1ac5276034691349b5f59 /MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs | |
| parent | bec5a4f561974941ed07638d3e1fb8a974ac0cc5 (diff) | |
| parent | 41ed3c15ffee7430b0718114bc7732f354198fb7 (diff) | |
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs')
| -rw-r--r-- | MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs b/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs index 873753a2b..e635cfbe5 100644 --- a/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs +++ b/MediaBrowser.Server.Implementations/Sorting/SortNameComparer.cs @@ -1,7 +1,6 @@ using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Sorting; using MediaBrowser.Model.Querying; -using System; namespace MediaBrowser.Server.Implementations.Sorting { @@ -18,7 +17,7 @@ namespace MediaBrowser.Server.Implementations.Sorting /// <returns>System.Int32.</returns> public int Compare(BaseItem x, BaseItem y) { - return string.Compare(x.SortName, y.SortName, StringComparison.CurrentCultureIgnoreCase); + return AlphanumComparator.CompareValues(x.SortName, y.SortName); } /// <summary> |
