[ORB-659] fixed records widget losing items on save when sorting has been used