add sortNames init code and sample input