Sorting on document date in purchase register report

Create a new key with Gen. Bus. Posting Group,No.,Document Date,Location Code,State,Document Date and also add SumIndexFileds from previous key…and select the new key…