merge sort is working for character data type.