After you have exported the data, you can sort or otherwise manipulate it in Excel for your purposes.