fixed sample data modified by array.sort