my %hash = ( 'keyone' => ['firstvalueone', 'firstvaluetwo], 'secondkey' => ['anothervalueone', 'valuetwoforsecondkey'], 'keythree' => ['thirdvalueone', 'thirdvaluetwo'] ); Can I sort the hash on the second element of the anonymous array? Output should be: firstvaluetwo thirdvaluetwo valuetwoforsecondkey Many thanks in advance, Birgit KellnerThread Next