I'll show you how the bank deposit received from window works, TimV44.
Below the Select the payments included in this deposit click the dropdown Arrow ▼ beside received from and from there, you have the option to change it in alphabetical order. However, it has no option to separate customers from vendors.
I've added this link as additional details to help you record your bank transactions: Record and make bank deposits in QuickBooks Online.
You can always check this article when downloading your transactions and need to categorize: Categorize online bank transactions in QuickBooks Online.
For more questions on your deposits in QuickBooks Online, don't hesitate to add a response below. I'll get back to you shortly.