In the past, when two people were editing the same Google sheet, if person A attempted to do a sort they would get a "heads-up" warning that A's sort was going to affect person B.
We now don't seem to get that heads-up message anymore, but we frequently have cases where if person A sorts while person B is editing a cell, the edits go into the wrong cell ... i.e., they go into the physical row and column that B was initially editing, but because of the sort, this is no longer the correct destination for the edits.