open(INF,$filename); @indata = ; close(INF); @sorted = sort { lc($a) cmp lc($b) } @indata;