Private Sub Command1_Click()
Dim i%, mArr(19), m%, t%
For i = 0 To 19
Randomize
mArr(i) = Int(Rnd * 100)
Next i
For i = 0 To 18
For m = i + 1 To 19
If mArr(m) < mArr(i) Then t = mArr(i): mArr(i) = mArr(m): mArr(m) = t
Next m
Next i
Print Join(mArr, ", ")
End Sub