What is the difference between sardonic and sarcastic?

Both forms of humour involve making remarks that come across as critical…