Triggering the sort event now only depends on the sort variable

It looks like whether you sort a collection during `set` depends only on the `sort` variable. So triggering the `sort` event now also depends only on the `sort` variable.

Signed-off-by: Adriaan Labuschagne <adriaanlabuschagne@gmail.com>