This issue has been reported on the project's GitHub page here:
https://github.com/troygoode/PagedList/issues/92[
^].
Essentially, you will have to update your code to:
return View(db.Data1.OrderBy(x => x.SomeProperty).ToPagedList(pageNumber, pageSize));
More information is in that issue.