I've tried google a way to sort a table but couldn't get my code working.
My program lets the user input enter information such as first name and last name in textboxes, once done they click on update button(so far everything works).
On the top right of the form it has a Combobox and it displays a list of all the names of poeple the User inputed... but it shows it in the order the user inputed.
I want to have a sort button so that way when the user clicks on "sort" it will alphabetically sort the msql table by last name and reupdate that on the Combobox (most importantly save msql with the new order of names)