Good morning Mr. Brady,
I think that using ORDER BY FIELD works better than find in set. I set the line to:
$sql .= "ORDER BY FIELD(formdir,'newpatient','LBFCC','LBFHPI','vitals','physical_exam','reviewofs','ros','soap','LBFA','LBFP','CAMOS')";
And now it works perfectly.
Ideally this should come from a list, or from the priority that forms/lists already have.