Which of the following shows a comparison

1. "My dog is older than your cat."

2. "I spent more money on groceries this month compared to last month."
3. "His performance was better than hers in the competition."