Filter surface direction

Could you help me out with this too?Sort starting point of Brep/curve?