It’s funny, the more you think about it. The First Order General was offed as a joke and their Supreme Leader hallucinated himself into switching sides, then the rest of the organization died off screen.
A story for the ages.
Pretty much all characters except Rey were reduced to jokes by the end.
Pretty sad waste of potential.