Loop / If Statement
I am trying to have the script go through my made up patients from Patients Table. One of the fields is "Treated?" which has a manual Yes / No objects to each patients, whether they are treated or not. And the script is supposed to sort the patients by many aspects, and one of them that I am working on is sorting them by "Treated?". However, after it sorts, I do not want the "Yes" patients to show up on the sorted list because I feel like this would be easier to look as a list. Below is the screenshot of what I attempted. The script does run without infinite loop or error. It DOES sort by Yes/No. But it does not omit "Yes" patients. Help would be appreciated!
Thank you as always :)