src/Services/Sorter.php
protected function first()
    {
        foreach ($this->sortable as $key => $value) {
            if (is_numeric($key)) {
                return $value;
            }

            return $key;
        }

        return null;
    }
protected function first()
    {
        foreach ($this->sortable as $key => $value) {
            if (is_numeric($key)) {
                return $value;
            }

            return $key;
        }

        return null;
    }
protected function first ( ) { foreach ( $ this -> sortable as $ key => $ value ) { if ( is_numeric ( $ key ) ) { return $ value ; } return $ key ; } return null ; }
Retrieve first sortable element.

@return mixed
Retrieve first sortable element .