Maybe do a switch over newOrder and ignore or throw an exception if the value of newOrder is not valid.
Right now anything but zero will call orderCards.