mergesortlist