Add totalCount to PaginatedList
Add sort to PaginatedList query