def METHOD_NAME():
    """
    Return a list of all installed kernels.
    CLI Example:
    .. code-block:: bash
        salt '*' kernelpkg.list_installed
    """
    result = __salt__["pkg.version"](_package_name(), versions_as_list=True)
    if result is None:
        return []
    return sorted(result, key=functools.cmp_to_key(_cmp_version))