Returns the best format if no priorities given