Sort first by window, then by tab index
Sort first by window, then by tab index

Tab order from `query` is not guaranteed. Sort first by `windowId` and
then by `index` (which is within a window) in order to get a better
"tab order".
tabwrangler/tabwrangler,tabwrangler/tabwrangler,tabwrangler/tabwrangler