Mark Griffiths sees Wrexham seal third place