I replaced the columns header in a list view with button
the action passes the name of the column(field) into a variable called $ fldname
and I would like it if I dod not have to hardcopy the fieldname in the sort
Gets the parameter (filename)
Then decided if desc or ascending by a $$ field
Sort records by field ( direction ; $fldname)
What am I missing?