small refactor to Controller::paginate handling of sort direction
small refactor to Controller::paginate handling of sort direction

git-svn-id: 5860920b332e8b1c20d5ac1ddb0cfb1512ef151a@7369 3807eeeb-6ff5-0310-8944-8be069107fe0

kumamidori/cakephp,mvdriel/cakephp,dakota/cakephp,HavokInspiration/cakephp,ndm2/cakephp,justinyost/cakephp,adopico/cakephp,tenkoma/cakephp,cakephp/cakephp,et304383/passbolt_api,ionas/cakephp,khoimt/cakephp-study,bravo-kernel/cakephp,burriko/cakephp,davidyell/cakephp,burriko/cakephp,dkarvounaris/cakephp,nrother/cakephp,adopico/cakephp,pbaire/cakephp,berrygoudswaard/cakephp,CVO-Technologies/cakephp,pbaire/cakephp,yinhe007/cakephp,jjj117/cakephp,berrygoudswaard/cakephp,nrother/cakephp,akintoey/cakephp,cakephp/cakephp,tgr0ss/cakephp,mvdriel/cakephp,garethellis36/cakephp,tgr0ss/cakephp,et304383/passbolt_api,khoimt/cakephp-study,erikfig/cakephp,Phillaf/cakephp,ionas/cakephp,ndm2/cakephp,elboletaire/cakephp,timhoeppner/cakephp,tenkoma/cakephp,gmponos/cakephp,berrygoudswaard/cakephp,dkarvounaris/cakephp,bravo-kernel/cakephp,CVO-Technologies/cakephp,HavokInspiration/cakephp,jeffblack360/cakephp,cakephp-fr/cakephp,yinhe007/cakephp,et304383/passbolt_api,dakota/cakephp,ionas/cakephp,jeffblack360/cakephp,eboominathan/cakephp,jeffblack360/cakephp,adopico/cakephp,kumamidori/cakephp,elboletaire/cakephp,ADmad/cakephp,justinyost/cakephp,garethellis36/cakephp,petteyg/cakephp,kumamidori/cakephp,erikfig/cakephp,petteyg/cakephp,ndm2/cakephp,CakeDC/cakephp,CakeDC/cakephp,et304383/passbolt_api,Phillaf/cakephp,elboletaire/cakephp,jerems02/cakephp,Balachan27/cakephp,eboominathan/cakephp,tisu2tisu/cakephp,nrother/cakephp,HavokInspiration/cakephp,mvdriel/cakephp,gmponos/cakephp,pbaire/cakephp,CakeDC/cakephp,davidyell/cakephp,web-player/cakephp,CVO-Technologies/cakephp,timhoeppner/cakephp,cakephp-fr/cakephp,Balachan27/cakephp,eryw/cakephp,petteyg/cakephp,tenkoma/cakephp,michaelze/cakephp,garethellis36/cakephp,garethellis36/cakephp,dakota/cakephp,ADmad/cakephp,timhoeppner/cakephp,web-player/cakephp,thinkingmedia/cakephp,mvdriel/cakephp,Phillaf/cakephp,tisu2tisu/cakephp,dkarvounaris/cakephp,gmponos/cakephp,CakeDC/cakephp,ndm2/cakephp,jjj117/cakephp,akintoey/cakephp,jjj117/cakephp,cakephp-fr/cakephp,akintoey/cakephp,web-player/cakephp,tisu2tisu/cakephp,ADmad/cakephp,cakephp/cakephp,jerems02/cakephp,tgr0ss/cakephp,dakota/cakephp,erikfig/cakephp,burriko/cakephp,tenkoma/cakephp,davidyell/cakephp,Balachan27/cakephp,eryw/cakephp,eboominathan/cakephp,cakephp/cakephp,justinyost/cakephp,thinkingmedia/cakephp,petteyg/cakephp,jerems02/cakephp,yinhe007/cakephp,khoimt/cakephp-study,bravo-kernel/cakephp,michaelze/cakephp,ADmad/cakephp,eryw/cakephp,michaelze/cakephp,et304383/passbolt_api,thinkingmedia/cakephp