The General's Daughter

Question: When the generals daughter is being brought out in the coffin at the end, "Amazing Grace" is being played on the bagpipes. Is this a military thing for dead soldiers, and if so, why "Amazing Grace" and why a Scottish instrument in particular?

Chosen answer: It's just a generic funeral song and the bagpipes are supposed to make it more...mournful.