Bugfix: FunctionType parameters get sorted, resolves #39