Use the bubble sort to sort d, f, k, m, a, b, showing the lists obtained at each step.

SolutionStep 1In this problem, we have to sort the list using the bubble sort technique.The list is given by d, f, k, m, a, bSo, we have to use the ascii value of d, f, k, m, a, bAscii Value of d = 100Ascii Value of f = 102Ascii Value of k = 107Ascii Value of m = 109Ascii Value of a = 97Ascii Value of b = 98