Fixed problem with sort params in filterLink tag

When filterLink tag was pointing to a different controller than the current, the sort params became invalid. This has been fixed. This change also makes it possible to explicitly set the sort and order parameters as attributes to the filterLink tag.