Bad variable naming: it doesn't contain a Content Type object, it contain a time.

Also, you don't need strcmp here, a simple comparison of the timestamp would do it:
`return $contentTypeObj3->modificationDate < $contentTypeObj4->modificationDate;`