improve episode sorting

This commit is contained in:
Luke Pulverenti
2013-12-08 16:31:14 -05:00
parent 803d60d9cf
commit 91b5a8101f
3 changed files with 12 additions and 4 deletions

View File

@@ -16,7 +16,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
/// <returns>System.Int32.</returns>
public int Compare(BaseItem x, BaseItem y)
{
return string.Compare(GetValue(x), GetValue(y), StringComparison.CurrentCultureIgnoreCase);
return AlphanumComparator.CompareValues(GetValue(x), GetValue(y));
}
private string GetValue(BaseItem item)