Biologic (Remicade) or JAK inhibitor?

After failing mesalamine and shortly coming off prednisolone, I now have two options (one of the above). My understanding was biologics are usually tried before JAK inhibitors, but apparently not. My GI has essentially said take your pick.

For those who have knowledge/been on both types of medication, what is your experience and what would you recommend first? I’m leaning towards the biologic because I don’t think it has as many potential side effects, but on the other hand the JAK inhibitor is easier to take as it’s just a tablet.