A Microsoft file hosting and synchronization service.
Indeed, the answers are not about fixing the problem. We want OneDrive not to overwrite newer files with older files, we don't want workarounds or to be inconvenienced by having to figure out we're actually working on an older version and go into file history to find which version was the latest.
My wife has two laptops, one that she doesn't use much but they both sync to OneDrive. And when she boots up the second less used laptop she hasn't used for a few weeks, boom, the newer files that she just saved a few days ago got overwritten and they weren't even saved manually on the old laptop. I'm guessing she may have opened the file not realizing it hadn't synced from the newer version, and then it autosaved on close, overwriting the new file.