functions can now be invoked as sortable callbacks, closes #1