fixed issue with js var module_sugar_grp1 and AJAX
fixed Undefined Variable $sugar_smarty in SugarView.php
fixed Undefined variable in aor_utils.php
fixed sort by issue in reports