It is odd to consider windows that are not shown in the window list for app sorting, in particular when switching between grouped and ungrouped mode, and when a long-lived window like the DESKTOP is present. https://bugzilla.gnome.org/show_bug.cgi?id=753055