Certification of Sorting Algorithms in the Coq System