in reply to sub-sorting a hash
# sort by type, then director, then title @sorted { $a->{type} cmp $b->{type} || $a->{director} cmp $b->{director} || $a->{title} cmp $b->{title} } @recs; [download]