i = n
Do While i >=2
k = i
For j = To 1 Step -1
If a(j) > a(k) Then k = j
Next j
If i <> k Then
t = a(k): a(k) = a(i): a(i) = t
End If
Loop
则下列说法正确的是( )