Implemented an AltitudeComparator