.......P.. [ZBX-7825] fixed saving of the history data in sequential time order on proxy side