Extends sort-nested-maps to sort sets by hash (renamed now to sort-nested)

Signed-off-by: Ken Barber <ken@bob.sh>