I've just failed First Posts review queue audit on such answer:
Sort the other range only, and then use std::mergestd::merge.
While the using of std::merge could really solve the OPs problem, I've found it not appropriate to flag the answer as link-only. However, according to current guidelines, the answer should be independent from the link, so it should provide at least some usage example (which, as I expect, is to be found under the given link).
I've wanted to add a comment to the AP asking to elaborate and add some example, and I've failed! I think this is flawed! I'm punished for trying to improve the post, because other users have voted it to be good as it is. It's very confusing and should be fixed. Posting a comment shouldn't fail the audit, if the flagging or recommending deletion won't follow.