problem with merge because of sorts