How to get Max rating post in cakephp : hi i new in php i did'nt understand how to get only that post which have maximum rating 

     $all= $this->Post ->find('all', array('conditions' => array('id'), 'recursive' => -1, 'limit' => 2));

i want only show that Post which have maximum number of rating 

     [0] => Array
            (
                [Post ] => Array
                    (
                        [id] => 1
                        [name] => Gramercy Tavern 
                        [contact] => 
                        [cuisine] => 
                        [rslug] => gramercy-tavern
                        [state] => NY
                        [rating] => 2
                        [created_date_time] => 2017-10-14 16:42:10
                    )
    
            )