public SortParm ParseSort()
{
SortParm sort = new SortParm(this.OrderBy);
if (this.DefaultMax && this.TotalPages > 0) {
this.PageNumber = this.TotalPages;
}
return sort;
}