Request - Sort by Attachment

I want to sort the rows in the Receipts & Payments section by attachment. If there is an attachment, I want it to show the attachment ones first, or just show the lines with the attachment. How can I do this?

You cannot. Attachments are not part of the transaction records. So you cannot sort the data that way. If you want to organize attachments, use Folders: Organize attachments with folders | Manager.