Remove circular import

Currently, imports of adhocracy.lib.sorting are brittle because of the circular import

lib.sorting -> lib.event -> lib.helpers -> lib.sorting
Remove the circular import
Merge branch 'behaviors' into develop