Show document sets in document library webpart

In a document library webpart I’d like to see all documents and all document sets but not folders and not the files inside the document sets. (How) is this possible?