apologies if the question is worded awkwardly, I really don't know a better way to explain what I need.
I have a list of dates and a list of activities that happened on those dates like so:
Datelist(0) = 06/01/2015 Activitylist(0) = Kayaking
Datelist(1) = 04/01/2015 Activitylist(1) = Rock Climbing
Datelist(2) = 01/01/2015 Activitylist(2) = Hiking
Datelist(3) = 05/01/2015 Activitylist(3) = Orienteering
so on 06/01/2015 Kayaking was the selected activity and so on.
What I want to know is is there a way to reorder both the lists, preferably without using a loop and increment, so that they are in chronological order with this being the end result:
Datelist(0) = 01/01/2015 Activitylist(0) = Hiking
Datelist(1) = 04/01/2015 Activitylist(1) = Rock Climbing
Datelist(2) = 05/01/2015 Activitylist(2) = Orienteering
Datelist(3) = 06/01/2015 Activitylist(3) = Kayaking
is there a way to do this in vb .net using visual express 2013? Thank you in advance -Tom
.Sort?