docs: Add a cute trick for achieving a stable sort
authorBenjamin Otte <otte@redhat.com>
Sun, 15 May 2011 14:11:51 +0000 (16:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 15 May 2011 14:13:55 +0000 (16:13 +0200)
commit80928ea403cfff5ffaa4bc73e84e3d4ebcb09123
tree9bfb3811405b27aaf182db9c3c5f50eae160502e
parent125b896a4ed21c54047a368247f76c0b36e1554b
docs: Add a cute trick for achieving a stable sort

This trick is inspired by
http://www.gnu.org/s/hello/manual/libc/Array-Sort-Function.html
http://jeffreystedfast.blogspot.com/2011/04/optimizing-merge-sort.html
glib/garray.c