I've just done this on a project using long and lat references for each post code.
You will need a post code lookup database containing longitude and latitude references for each post code and a mySQL calculation to work out the distance. You can then order the distances by closest first and display the records on the Google Map.
Cheers
Ian