added methods to order a list of shapes. Implemented classerParType.