merging in python
Add all keys and associated values from both sets of data to a single dictionary. 
Get the items of the dictionary ans sort them.
print out the answer.
k1=[7, 2, 3,  5]
v1=[10,11,12,26]
k2=[0,   4]
v2=[20,  33] 
d=dict(zip(k1,v1))
d.update(zip(k2,v2))
answer=d.items()
answer.sort()
keys=[k for (k,v) in answer]
values=[v for (k,v) in answer]
print keys
print values

Edit: This is for Python 2.6 or below which do not have any ordered dictionary.
I have the following 4 arrays ( grouped in 2 groups ) that I would like to merge in ascending order by the keys array. 
I can use also dictionaries as structure if it is easier.
Has python any command or something to make this quickly possible?
Regards
MN

# group 1
[7, 2, 3,  5]  #keys
[10,11,12,26]  #values 

[0,   4]   #keys
[20,  33]  #values 

# I would like to have
[ 0, 2, 3, 4, 5, 7 ] # ordered keys
[20, 11,12,33,26,33] # associated values