We have a journal and a ledger and a trial balance. What’s the difference between them?

We have a journal and a ledger and a trial balance. What’s the difference between them? Also, there seems to be an order in which the book wants us to record transactions. Is that order important?  Why?