You cannot access any external inventories while the bug is ‘active’ i.e falling through foundations. So this is irrelevant. Not benches, not thralls not anything, it simply does not work and you have to wait for the server to re-sync

The sorting issue is a separate bug and not related to the falling through foundations bug