Notts County returned to winning ways in the National League at the third time of asking, with stand-in captain Macaulay Langstaff inspiring a comeback victory at Meadow Lane.
The Magpies found themselves a goal behind when Jason Prior's deft effort beat Tiernan Brooks at his near post, only for Macaulay Langstaff to level the scores five minutes later.
And the National League's top goal scorer took his tally to 35 seven minutes into the second half, with Matty Palmer sealing the three points after a sweeping Notts move ended with an emphatic finish.
READ MORE: Notts County team news vs Dorking as key defender misses out
Ahead of kick-off, the Notts boss made one change to the side that drew with Bromley last weekend - captain Kyle Cameron missing his first game of the season through illness, with Jim O'Brien replacing him in the side.
Despite two early chances falling to the feet of Sam Austin in quick succession, it was the visitors who founds themselves ahead after previously threatening with their first foray forward with Josh Taylor hitting the side-netting.
This time, the Dorking number 17 turned provider - with the visitors capitalising on a sloppy pass into midfield by Connell Rawlinson, breaking down the left before Taylor's cross into the near post was neatly flicked home by Prior - his first since returning to the club last month.
The response was almost immediate when Jodi Jones did brilliantly to stand a ball up into the area - with Ruben Rodrigues aiming for the spectacular with an ambitious bicycle kick, the ball eventually found the feet of O'Brien who saw his left-footed strike hit the outside of the post.
In spite of their woeful record in front of the BT Sport cameras, Notts found themselves level five minutes later as Aaron Nemane found space in behind the Dorking defence before delivering a dangerous cross into the area that fortuitously deflected into the path of the National League's top scorer to tap beyond Dan Lincoln.
And the hosts almost turned the game around in the space of four minutes, this time Rodrigues was able to pick pocket possession in the final third - feeding in Langstaff who dragged his shot wide of the target.
With the Magpies continuing to dominate proceedings and create chances, they were unable to go into the break ahead - however it took just seven second half minutes for the Notts number nine to inevitably add to his tally.
Despite Dorking looking relatively comfortable in possession, pressure from Austin forced George Francomb into a mistake with the ball cannoning off the Notts number eight, with Austin taking his time before firing a pinpoint cross into Langstaff to steer home his customary league goal.
But Langstaff was hungry for more, almost netting his third hat-trick of the season minutes later as he spun on the edge of the area before firing the ball high into the KOP.
Williams' side continued to knock on the door and almost found that two-goal cushion on the hour mark, with Austin's shot destined to ripple the back of the net brilliantly cleared by Dorking captain Tony Craig on the line.
Still not satisfied with two goals, Langstaff was faced with the Dorking goalkeeper once more after an exquisite ball in behind by Rodrigues - this time Lincoln came out on top, diving low to his left to deny the Notts number nine.
But the three points were confirmed five minutes from time, with Adam Chicksen's driving run from defence finding Rodrigues who in turn laid the ball into the path of Palmer to fire home his second goal of the campaign and to keep Williams' side within touching distance of Wrexham.
Following the encounter, he is how we rated the Notts players.
Tiernan Brooks - 7
Rarely troubled after conceding the opener, showcasing some nice touches and progressive passes into midfield.
Adam Chicksen - 8
Took on the role of filling the gap left by Cameron, with his performance replicant of the Notts skipper, driving forward from defence and looking to aid attacks from the wide areas - influential in the third goal of the evening.
Connell Rawlinson - 7
Guilty of giving away possession that led to the Dorking opener - and did give away possession when not under any real pressure, however remained defensively solid throughout.
Geraldo Bajrami - 7.5
A confidence boosting performance from the Albanian. Has taken a lot of criticism in recent weeks but looked solid for the entirety of the contest.
Jodi Jones - 7.5
The threat from the wide positions was consistent, with Jones picking out some dangerous balls into the area and making light work of one of the leagues best defensive full-backs in Bobby-Joe Taylor.
Aaron Nemane - 8
His pace and directness caused no ends of problems all evening, with his runs in behind allowing him to create several opportunities with dangerous deliveries into the area.
Matty Palmer - 9
Dictated the play from minute one, combining well with the defence to alleviate any Dorking pressure while also offering another option going forward and getting his rewards with his goal late on.
Jim O'Brien - 7
Another effective midfield display, working well alongside Palmer and providing that bite into the tackle when Dorking had their tails up for a period in the second half.
Sam Austin - 7
Another tireless performance from the midfielder - with his running rewarded by forcing the mistake which led to Langstaff's second of the evening.
Ruben Rodrigues - 8
Fluttered in and out of the game during the first half, but when he was involved he was extremely effective - perfecting that ball in behind defences and grabbing his assist for Palmer's third.
Macaulay Langstaff - 9
35 National League goals. Simply incredible. Took both his goals extremely well, with the stand-in captain leading from the front for his side in a must-win game.
SUBS:
Connor Lemonheigh-Evans - 6.5
Looked to effect the game from the minute he came on - buzzing around the Dorking defence and looking to capitalise on any mistakes.
John Bostock - 6
Ensured the Magpies maintained possession for the final minutes.
Frank Vincent - 6
Great to see him back after his recent injury - a timely boost given Notts' defensive troubles.
READ NEXT:
- Notts County vs Dorking TV channel, kick-off time and how to watch National League clash
- Luke Williams reveals Macaulay Langstaff decision following England C call-up
- What is Padel? Alexander Reedtz reveals all following opening of Notts County facility
- Notts County boss explains 'difficult' decision from Bromley draw