--group-directories-first and --group-directories-last can be used together, but it doesn't make any sense to do so. If you try it, --group-directories-first wins.
It would make more sense to merge the 2 options into --group-directories={first|last}.