How can I do a orderby by the number of items? So basically list by starting with the array with the largest number of post

How can I do a orderby by the number of items? So basically list by starting with the array with the largest number of post