in reply to sort hash of arrays of arrays

use Data::Dumper; and try dumping %hash to see what you have, because there is only one dimension in what you posted