passing parameter to action

i have a table of data in my application. i would like to be able to
sort the data in the table by clicking on the column header. the way
i was thinking i want to do this is just by making a 'sort' action,
and then calling the sort action from each link in the table header
(passing the respective column name). it doesn't seem to be possible
to pass parameters to an action though. do i just have to use forms
for this, or how could it be done?


Thanks! I've been wondering how to use arbitrary GET parameters for a while now.