Sort type renamings in swigwriter