Add sorting back to prompts index action.