How to display news in wordpress, sorted by subcategories?

There are 5 categories, the structure is this:
-The main
--Subcategory
--Subcategory
--Subcategory
--Subcategory

Required on the MAIN CATEGORY page to display the news in order of each sub-category through orberby to do the sorting of the posts is impossible. What are the different methods of solving this problem?
July 8th 19 at 11:47

Find more questions by tags WordPress