code: def exposure_units(exposure):
      
      units = definition(exposure)['units']
      return sorted(units, key=lambda k: k['key'])
docs: Helper to get unit of an exposure.
  
      :param exposure: Exposure type.
      :type exposure: str
  
      :returns: List of exposure units.
      :rtype: list