Implemented CompareTo Method in Snapshot