title: Pagination sort link on a virtual field/entity property in CakePHP 3.0
body: <p>I want to create a <a href="http://book.cakephp.org/3.0/en/views/helpers/paginator.html#creating-sort-links" rel="noreferrer">pagination sort link</a> on a <a href="http://book.cakephp.org/3.0/en/orm/entities.html#creating-virtual-properties" rel="noreferrer">virtual field/entity property</a> in CakePHP 3.0.</p>
  
  <p>In CakePHP 2.x I used to create a <a href="http://book.cakephp.org/2.0/en/models/virtual-fields.html" rel="noreferrer">virtual field</a>, and then create a pagination sort link on that field. However, in CakePHP 3.0, <a href="http://book.cakephp.org/2.0/en/models/virtual-fields.html" rel="noreferrer">virtual fields</a> have been replaced by <a href="http://book.cakephp.org/3.0/en/orm/entities.html#creating-virtual-properties" rel="noreferrer">virtual entity properties</a>.</p>
  
  <p>Is there any way I can get this working in CakePHP 3.0?</p>
  
  <p>In my situation, I have a first_name and last_name column, which are combined as full_name in a <a href="http://book.cakephp.org/3.0/en/orm/entities.html#creating-virtual-properties" rel="noreferrer">virtual entity property</a>. I want to sort on the full_name.</p>