in reply to sorting a hash by value with ties
If so, sorting only the tied values of a hash might be something like this (UNTESTED):
my @sorted_tied_values = sort { $a cmp $b } grep { tied $_ } values %hash; [download]