These are all the test cricketers who have achieved this:
Andrew Flintoff (ENG) 69 Tests
Anil Kumble (IND) 110 ·
Chaminda Vaas (SL) 82 ·
Chris Cairns (NZ) 58 ·
Daniel Vettori (NZ) 69 ·
Garfield Sobers (WI) 80 ·
Ian Botham (ENG) 42 ·
Imran Khan (PAK) 50 ·
Jacques Kallis (SA) 102 ·
Kapil Dev (IND) 50 ·
Richard Hadlee (NZ) 54 ·
Richie Benaud (AUS) 60 ·
Shane Warne (AUS)100 ·
Shaun Pollock (SA) 56 ·
Wasim Akram (PAK) 78
https://en.wikipedia.org/wiki/Jacques_Kallis#Test_Centuries
I cannot a reference anywhere mentioning who was the first. The closest I can get is another list with these same people under the same heading which is NOT in alphabetical order.
This list places Jacques Kallis at the top so my assumption is that he was the first
http://cricketestats.blogspot.com/2006_07_01_archive.html
As a point of interest - Botham was the fastest to get all three:
Sir Ian Botham holds a number of Test records as an all-rounder, including being the fastest (in terms of matches) to achieve the "doubles" of 1,000 runs and 100 wickets, 2,000 runs and 200 wickets, and 3,000 runs and 300 wickets
https://en.wikipedia.org/wiki/Ian_Botham#Records