<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def exposure_units(exposure):
 """Helper to get unit of an exposure. :param exposure: Exposure type. :type exposure: str :returns: List of exposure units. :rtype: list """

    units = definition(exposure)['units']
    return sorted(units, key=lambda k: k['key'])