Revert "Remove the obsolete qsort implementation."

This reverts commit 9732b60dddaca78585d421549c7c156826343ee9.

Conflicts:
	src/Makefile.in