merge_ordered_vectors function

Merging vectors while maintaining order