Adding IEnumerable extension. IsSorted<T>().