Proper way to disconnect battery neg first neg last

I was told by someone with mechanical ability.
Being that these motorcycles ATV's side by sides have sensitive brains , ECM's etc...
The safest was to disconnect a battery is to disconnect the negative first and when connecting the battery to hook up the negative last.
Please let's hear your ideas.
TY.....