No offense @Weaver, but I would definitely not end my set on a banger. Yes, your job is to have the dancefloor packed for the headliner but if you end on a banger, you are forcing the headliner to start with a banger or risk losing the energy. Keep in mind that the headliner is probably from out of town and might not know that particular crowd. They also might not know what sounds good on that particular sound system. Give them the room to feel their set out.
I would advise playing a banger as your third to last track, then keep them hooked with two solid tracks as you end. This will allow the headliner to start with a solid audience but give them the room they need to tell their own story.