Maintain order of sprite symbols when spritesheet is re-imported

Found this useful in my own code; prevents all gameobjects having references to the wrong sprite when the spritesheet is changed. Works when sprites are added and removed too.