How are you calling sort on values?
In reply to Re^3: Creating a hash from arrays by AnomalousMonk in thread Creating a hash from arrays by cspctec