Alternator harness fried. Does anyone know the wiring order(yel/Grn/br

My alternator wire harness fried on my 2009 Nissan Maxima when my compressor burned up. Can’t remember what order the wires went. I believe it was yellow closest to the engine,grn in the middle and brown farthest from the engine. I sure would appreciate the assistance.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0