updated controllers with sort info

Put the sorting info in the all controllers.