enum for order and hflip