Bugfix: sort bindings, re-ordering once is not enough.
Bugfix: sort bindings, re-ordering once is not enough.

Reordering once (as we did it before this commit) would only sort the
bindings by the _first_ bit of their event_state_mask, but we need to
sort them by _all_ bits of their event_state_mask.

fixes #1870

saksham0808/i3,shdown/i3,acrisci/i3,MForster/i3,strake/i3,pronobis/i3,stapelberg/i3,dg-ratiodata/i3,drbig/i3,cornerman/i3,Airblader/i3,pronobis/i3,strake/i3,strake/i3,Chr1stoph/i3,stapelberg/i3,Airblader/i3-original,acrisci/i3,drbig/i3,EvilPudding/i3,ccryx/i3,avrelaun/i3,MForster/i3,i3/i3,ccryx/i3,pronobis/i3,ccryx/i3,Chr1stoph/i3,saksham0808/i3,avrelaun/i3,cornerman/i3,saksham0808/i3,cornerman/i3,EvilPudding/i3,Matmusia/i3,acrisci/i3,pronobis/i3,i3/i3,saksham0808/i3,MForster/i3,i3/i3,drbig/i3,avrelaun/i3,EvilPudding/i3,Airblader/i3-original,cornerman/i3,Airblader/i3,drbig/i3,shdown/i3,Airblader/i3-original,acrisci/i3,dg-ratiodata/i3,Matmusia/i3,dg-ratiodata/i3,MForster/i3,strake/i3,Airblader/i3-original,shdown/i3,EvilPudding/i3,ccryx/i3,Matmusia/i3,i3/i3,acrisci/i3,stapelberg/i3,dg-ratiodata/i3,shdown/i3,Chr1stoph/i3,Airblader/i3,Chr1stoph/i3,avrelaun/i3,Matmusia/i3,Airblader/i3,stapelberg/i3,strake/i3,Airblader/i3-original