New version for the ability to use variables in sortable links