diff --git a/README.md b/README.md index 2df5166..1e2e136 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ Where `SieveCustomSortMethodsOfPosts` for example is: ```C# public class SieveCustomSortMethods : ISieveCustomSortMethods { - public IQueryable Popularity(IQueryable source, bool useThenBy, bool desc) // The method is given an indicator of weather to use ThenBy(), and if the query is descending + public IQueryable Popularity(IQueryable source, bool useThenBy, bool desc) // The method is given an indicator of whether to use ThenBy(), and if the query is descending { var result = useThenBy ? ((IOrderedQueryable)source).ThenBy(p => p.LikeCount) : // ThenBy only works on IOrderedQueryable