patch fixes sorting lists with custom getkey-func. Bug was trying to evaluate getkey-func while setting it, so it was always nil. -- Le