Effects of ply-arrangement on compressive failure of layered structures