for s in sort(getcompletion('', 'function'))
    echo getcompletion(s, 'function')
endfor