BUG: Index sortlevel ascending add type checking #32334
- [x] closes #32334
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [x] whatsnew entry

Add the check of ascending parameter in the sortlevel method, only allow bool value and single bool value list

cc @Dr-Irv 
