fix $originalOrders undefined var

As reported in Tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=33314

$originalOrders var is only set if Tags exist -- moved $originalOrders = array() to earlier in code where other fields are initialized.