>>sample that will sort the 5 names to a-z
You have to understand character arrays before you will understand how to sort them. google for "sort algorithms", but from what you have already told us I doube you will understand what you read.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...