Skip to content

Instantly share code, notes, and snippets.

@naranjja
Last active September 26, 2015 22:22
Show Gist options
  • Save naranjja/4f252d32f7c3cb160af9 to your computer and use it in GitHub Desktop.
Save naranjja/4f252d32f7c3cb160af9 to your computer and use it in GitHub Desktop.
For i = Min To Max - 1
For j = i + 1 To Max
If x(i) > x(j) Then
temp = x(i)
x(i) = x(j)
x(j) = temp
End If
Next j
Next i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment