Machine binding? Doesn't matter whether you sew to the front or back first. The object is to have it applied smooth and even. The problem with machine binding the folded over edge is having the machine stitching even and not catching the binding in an uneven line. That's why I machine stitch the binding to the back (my choice) and fold it to the front and hand stitch.
Sandy