Two order By clauses
Imports System
Imports System.Collections.Generic
Imports System.Data
Imports System.Linq
Imports System.Text
Imports System.Globalization
Module Example
Public Sub Main()
Dim QueryString As String() = New String() {"One", "Two", "Three", "Four", "Five"}
Dim ThisQuery = From StringValue In QueryString _
Order By StringValue _
Order By StringValue.Length _
Select StringValue + vbCrLf
For Each ThisValue In ThisQuery
Console.WriteLine(ThisValue)
Next
End Sub
End Module
Related examples in the same category