def finish_directory_parse(self):
        '''
        A method to finish up the parsing of this UDF File Entry directory.
        In particular, this method checks to see if it is in sorted order for
        future use.
        Parameters:
         None.
        Returns:
         Nothing.
        '''
        if not self._initialized:
            raise pycdlibexception.PyCdlibInternalError('UDF File Entry not initialized')
        if self.icb_tag.file_type != 4:
            raise pycdlibexception.PyCdlibInternalError('Can only finish_directory for a directory')