when vertical is false, you can flip sort domain top down or bottom up
vertical
final bool? flipVertical;