try this script, select your items before running
// equalizePathDirection,jsx
// CarlosCanto // 06/15/2020
// https://community.adobe.com/t5/illustrator/how-to-make-all-paths-the-same-direction/td-p/11207971?page=1
function main() {
var idoc = app.activeDocument;
var sel = idoc.selection;
var pathitems = [];
if (sel.length>1) {
for (var a = 0; a<sel.length; a++) {
var pgItem = sel[a];
if (pgItem.typename == 'PathItem' && !pgItem.closed) {
pathitems.push(pgItem);
}
}
selection = null;
equalizeDirection(pathitems);
}
else {
alert('select two or more path items and try again');
}
}
main ();
function equalizeDirection(pa /*pathItems array*/) {
var p0, p1, pp;
for (var p in pa) {
pp = pa[p].pathPoints;
p0 = pp[0].anchor;
p1 = pp[pp.length-1].anchor;
if (p0[1]<p1[1]) {
pa[p].selected = true;
}
}
app.executeMenuCommand('Reverse Path Direction');
}