Answer
In the line 8 change the > symbol in "lst[k] > currentElement" to < symbol like "lst[k] < currentElement".
Work Step by Step
We just need to change the comparison operator so that in the sublist, new element is inserted at correct position according to the descending order.