Move default_sorting to controllers

Unify sorting and filtering over base_controller