Sort algorithm slow. Figure out if it is string conversion or sorting algorithm.