rename
add mergesort for array