I use Face normal and face bottom edge direction, to calculate instance orientation per face. but some of the instances are flipped.
I think the problem is with calculating the vector of face bottom edge.
I tried using maximum and minimum math nodes, but it doesn't work. any ideas?