Edexcel FD1 AS 2023 June — Question 1

Exam BoardEdexcel
ModuleFD1 AS (Further Decision 1 AS)
Year2023
SessionJune
TopicSorting Algorithms

1. $$\begin{array} { l l l l l l l l l l l } 67 & 59 & 46 & 71 & 40 & 48 & 53 & 63 & 45 & 54 & 56 \end{array}$$ The list of eleven numbers shown above is to be sorted into descending order.
Carry out a quick sort to produce the sorted list. You should show the result of each pass and identify the pivots clearly.