Updating controller to support publication sorting