parameters: (first, second)
return_statement: return 1
docstring: Compares two thumbnails in terms of file names and ids.
  
      :param `first`: an instance of :class:`Thumb`;
      :param `second`: another instance of :class:`Thumb`.
docstring_summary: Compares two thumbnails in terms of file names and ids.
docstring_tokens: Compares two thumbnails in terms of file names and ids .
function: def CmpThumb(first, second):
      """
      Compares two thumbnails in terms of file names and ids.
  
      :param `first`: an instance of :class:`Thumb`;
      :param `second`: another instance of :class:`Thumb`.
      """
      
      if first.GetFileName() < second.GetFileName():
          return -1
      elif first.GetFullFileName() == second.GetFullFileName():
          return first.GetId() - second.GetId()
      
      return 1
function_tokens: def CmpThumb ( first , second ) : if first . GetFileName ( ) < second . GetFileName ( ) : return - 1 elif first . GetFullFileName ( ) == second . GetFullFileName ( ) : return first . GetId ( ) - second . GetId ( ) return 1