VB.Net Code:
  1. Dim intArray() As Integer = {n1, n2, n3, n4, n5}
  2.         Array.Sort(intArray)

Edit: dang it