Batman: Arkham Asylum is the older of the two—it was released first.
Arkham Asylum kicked off the acclaimed series, and Arkham City followed later as its open-world sequel. So if you're playing through in order, start with Asylum and then move on to City.