public function getSortorderPath()
    {
        $fileName = $this->path . DIRECTORY_SEPARATOR . '.sortorder';
        if(file_exists($fileName))
        {
            return $fileName;
        }
        $fileName = $this->path . DIRECTORY_SEPARATOR . '_sortorder';
        if(file_exists($fileName))
        {
            return $fileName;
        }

        return false;
    }
public function getSortorderPath()
    {
        $fileName = $this->path . DIRECTORY_SEPARATOR . '.sortorder';
        if(file_exists($fileName))
        {
            return $fileName;
        }
        $fileName = $this->path . DIRECTORY_SEPARATOR . '_sortorder';
        if(file_exists($fileName))
        {
            return $fileName;
        }

        return false;
    }
public function getSortorderPath ( ) { $ fileName = $ this -> path . DIRECTORY_SEPARATOR . '.sortorder' ; if ( file_exists ( $ fileName ) ) { return $ fileName ; } $ fileName = $ this -> path . DIRECTORY_SEPARATOR . '_sortorder' ; if ( file_exists ( $ fileName ) ) { return $ fileName ; } return false ; }
Returns file name of sortorder no matter whether this file is _ or . prefixed.
Returns false if sortorder file doesn't exist.

@param  string $path Path to content directory
@return string|boolean
Returns file name of sortorder no matter whether this file is _ or . prefixed . Returns false if sortorder file doesn t exist .