Sort:  

4 can't overlap with 1 ; if it does, it's not an impulse of 5 but an abc or wxy or combination.
Red A should be where 3 is and B should be where (4) is.