reordered table rows in order of event firing