public function sortByProperty( $property, $direction = null )
    {
        $this->sort( $this->generateSortByPropertyClosure( $property, $direction ) );
        return $this;
    }
public function sortByProperty( $property, $direction = null )
    {
        $this->sort( $this->generateSortByPropertyClosure( $property, $direction ) );
        return $this;
    }
public function sortByProperty ( $ property , $ direction = null ) { $ this -> sort ( $ this -> generateSortByPropertyClosure ( $ property , $ direction ) ) ; return $ this ; }
Sort container by property
@param property $property
@param SORT_ASC|SORT_DESC $direction
@return Container
Sort container by property