use Sort::Key qw(keysort); @sorted = keysort { join('', map chr, split /\./) } @data; [download]
In reply to Re^2: Sorting Outline Numbers by salva in thread Sorting Outline Numbers by Anonymous Monk