Found out that order_by can take a string, although the documentation for that is in a weird place not right by the other docs for order_by. If you import asc and desc from sqlalchemy, you can call
order_by(desc("id")) and it will work