Signature (Visual Basic / VBA)
Private Sub SortWordsSample()
' Print some samples of the SortWords function.
Debug.Print SortWords(Gettysburg, Null, Null, Null, True, False)
Debug.Print SortWords(Gettysburg, Null, Null, Null, True, True)
Debug.Print SortWords(Gettysburg, Null, Null, Null, False, True)
End Sub