We are working on a report that generates invoices. The number of pages per invoice may vary depending upon the size or length of the invoice. We need to sort and group by the number of pages. ie. all invoices that are only one page in length are together, 2 paged invoices are together, etc.. When we try to sort and group by totalpagecount we get an error message that states that the field totalpagecount must be evaluated at a later time. Is there any other way to accomplish this type of sorting?