fix issue in shell srt
add implementation for merge sort