As has been stated, to solve your existing problem, you need external software.
In the future, rather than make two midi recordings, you should modify the first one using the facilities available on the keyboard, like punch in/punch out.
Cheers,
fred