Snapshot before starting to implement sorting