title: Dynamically changing route string inside the controller
body: <p>I create urls using the following pattern:</p>
  
  <pre><code>www.website.com/page/1/sort/login
  </code></pre>
  
  <p>When I wanna change, for example, sorting method, I simply add the new one to the end of the url:</p>
  
  <pre><code>www.website.com/page/1/sort/login/sort/email
  </code></pre>
  
  <p>And replace the old one in the controller (string replaces etc...). So, clicking the link with URL from above would:</p>
  
  <ol>
  <li>Redirect to <code>www.website.com/page/1/sort/login/sort/email</code></li>
  <li>Replace sorting by login with sorting by email IN CONTROLLER</li>
  </ol>
  
  <p>The problem is that the link doesn't change of course - it contains double sort elements.</p>
  
  <hr>
  
  <p>What I want to achieve is to change the route in the URL from controller's method after the redirect. Is this possible?</p>