Hi. I'm creating a script in which the user could enter a list of medications that he is using. Because it could change from user to user, I'm using a array that "save this information"...This script is fully functional but I will like to change the order of the medications after it is completed manually.
Example: If I have 10 medications...I will like to manually sort the list so the antibiotics are first, then antihypertensive, and all antiglycemic should be together. But so far the list only shows the drugs in the order they were submitted.
There's any easy way to do this?