Update Layer module
Fix sort/nestedsort and hiddencolumns compatibility