It is impossible for someone to be a Christian and not love God, or do not have compassion towards fellow humans. That is what Jesus was saying, and what James was saying, and what Micah was saying.
Though you won’t find “ordo amoris” in the catechism, Dominican Father Pius Pietrzyk told CNA that the concept is a well-established one.