This is such a good idea that in fact it is already implemented. The node
Nodes To Consider (also referred to as
NtC) does just that. It is accessible to all monks of level 6 or higher.
print@_{sort keys %_},$/if%_=split//,'= & *a?b:e\f/h^h!j+n,o@o;r$s-t%t#u'