def issue_section_order(issue):
 try:
  return LOG_SECTION.values().index(issue_section(issue))
 except:
  return (-1)

def issue_section_order ( issue ) : try : return LOG_SECTION . values ( ) . index ( issue_section ( issue ) ) except : return ( - 1 )
returns the section order for the given issue .