I just ran comparative tests, and cotton wins.

The reason?

I was using short lengths of string to tie a whistle and compass together. Split rings wouldn't work in this case. The nylon string came undone every f****** time, no matter how tightly I tied the knot. The cotton string stayed tied and is still tied.