Add minimum and maximum on newly defined Order class