Short tranche vs z-tranche

Can someone please explain the difference between the two in terms of construction in prepayment risk? Does the z tranche have more extension risk? The short one less? So confused. Thanks much in advance!