Sorts a given text line by line by alphabet, using the MergeSort algorithm. An uppercase letter is weighted lighter than a lowercase letter, with the following letter being weighted even lighter.