add module listeners
debugger fix
add sortOrder support