How to sort by directory and file type with ls

```bash ls --group-directories-first --sort=extension -l ```