How can I group an entity on categories within a group 'without categories'?

hi! :-)
i would like to group the object entity 'file' on categories
the files should grouped by categories within a group 'without categories'
is there a view that does this
or is there a view i can modify
or has somebody a codesnippet?