manage correctly versions order