Elasticsearch match_all default sort?

My question is which 10 it returns by default ?
there must be some kind of mechanism of choosing those 10 (particularly the case of match_all in which the score of all the available docs is 1).