If external monitors are repeatedly connected and disconnected, a state could arise where some containers are not in the workspace sequence and get_order returns None. This would raise an exception, so we sort these containers to the back in that case.
If external monitors are repeatedly connected and disconnected, a state could arise where some containers are not in the workspace sequence and
get_order
returnsNone
. This would raise an exception, so we sort these containers to the back in that case.