Default to sorting windows by their window ID.

By defaulting to the window ID this gives layout a stable order
and this order will match the window switch hotkeys APPLE+#.