Where can I found a good implementation of heapsort? (I don't care if it's C++ or C)
Google didn't help me a lot. It would be ideal to find the implementation that is used by some efficient library, or just a (proven?) efficient implementation.