The purpose of the sacrament of confession is not just so you can receive communion. Ideally the grace guides us as we avoid or resist temptation.
Where I live, confession is usually right before the Saturday vigil Mass, which is generally 4 PM or 4:30. I am not thrilled with this. Nowadays the priest hearing confessions is almost always the one saying that Mass. In my parish there are usually a few in line, so I wonder if the priest will have time. Ideally the priest should have nothing imminent after confessions. If there is a special situation, he should be available for as much time as needed, without worrying about that church filling up with people waiting for him to be on time. On Sunday morning there isn’t much time, the pastor says 3 Masses back-to-back.
In rural churches, the priest may only be at the church once during that week, so he has Mass right after confessions. I would rather Confessions after Mass. Luckily in my city we still have a religious order with daily confessions at their downtown parish. Sadly, the priests are all old, with no replacements coming out of the sem. God bless them for their service now.