Sort by integer timestamp when diffing