Well, ..., you might want to try some free legal advice from a lawyers association in your town because local laws pretaining to rent and eviction vary by locality. However, typically the lease will spell out the terms of eviction. Generally being late on the rent is not terms for eviction. The landlord can penalize you by adding a late fee but generally if you're late you can't be evicted. Again. that, however, depends on your local laws that may not be spelled out in the lease. So you need to check that out. Where I live, you have to be 60-90days out before you can be evicted and then the sheriff shows up at your door and throws you and your family out.
However, personally I wouldn't chance it. You guys need to make sure it is never late again.
When it comes to prioritizing payments use the law of 4 squares. House, Groceries, Utilities, and Transportation. Those 4 must come first everything else is secondary. That doesn't mean that you don't pay the others it just means that you need to set aside the money for those 4 first. If the others are late they can only damage your credit they can't take your house or you ability to get to work.