Kunnen we de subcategorieën zo rangschikken?

how can I add this to the theme in my community.

can someone help?

thanks.