Script id's automatically change

I get new scriptId’s for all my scripts (also the scripts I didn’t change) after an export. That’s very annoying, because when you checkin scripts with Visual Studio, you have to scroll to loads of id’s. Is there a script to fix this?

Another question: why do properties automatically change from place in the JSON?