reinstate simpler handling of sorting on simple derefs

Restores simpler plan for simple cases, preserving source collection's shape.

A specific error, with an explanation of the cause