added support to set dynamic groups position(order)