Sort tabs by domain and thats it. Requires no extraneous permissions, which makes it more work suitable.