At this time, you can't "collapse" gradebook assignments. It's a great idea to post in the User Voice! However, you do have a couple of options that may help.
You can use a sort order for the assignments
You can also, only display assignments by their categories.