formatted the html output to display both scrambled and sorted numbers