How to display posts in wordpress with sorting the "name column-posts of this column, then the name of the next category and its posts?

it must be something like this:
рубрика1
1 post headings 1
2 format post 1
Post 3 of heading 1
рубрика2
1 post column 2
Post 2 heading 2
Post 3 items 2
June 8th 19 at 17:09
0 answer

Find more questions by tags WordPress