Added support for reordering variables on Reportal edit page