Re-factored model index page sorting functionality to display the current sorting label and ensure application functions correctly when sorting is disabled.