changed &sort_by= to &sort in the next to last $output statement for online access block