Hi @Chris_Walters - no worries at all. We all started from zero
The snippet I shared with you only works for sorting numerical lists. Sorting alphabetically is done a little differently (though it's a similar concept).
Here's how I would do it:
{note: trim=right}
{EHS_score_list=sort([0, 1, 2, 3, 4], (a, b) -> a - b)}
{medication_list=sort(["Generic Viagra", "Sildenafil", "Cialis", "Tadalafil", "Branded Viagra", "Stendra"], (a, b) -> comparestrings(a, b))}
{dosage_list=sort([5, 10, 20, 25, 40, 50, 60, 80, 100], (a, b) -> a - b)}
{endnote: trim=right}
Symptoms consistent with ED. EHS of {formmenu: cols=5; values={=EHS_score_list}}. Denies chest pain or SOB. No c/i to treatment.
Will start {formmenu: name=Medication; default=Generic Viagra; values={=medication_list}} {formmenu: cols=7; default=50; values={=dosage_list}} mg {formmenu: name=Frequency; default=as-needed; daily}. Follow up in {formtext: default=3; cols=5} months.
So, first I created the lists at the very top and assigned them to variables (labels). Then I used those variable names inside my formmenu commands.
Let me know if anything is unclear and I'll be happy to get into more detail
By the way, you can copy my snippet directly into the dashboard by clicking on the "Copy to Text Blaze" button in the top right of the snippet window.