Added sortf and chaining operators