Reorder the screenshots to prioritize a certain environment or style, instead of using the default screenshot order.
If both "environment" and "style" are null, the previous default order is restored.
| this |
a Component instance. |
| environment |
a GUI environment string, e.g. "plasma" or "gnome" |
| style |
and environment style string, e.g. "light" or "dark" |
| prioritize_style |
if true, order screenshots of the given style earlier than ones of the given environment. |