LANG=C was not propagating the locale change to the test script correctly, resulting in `sort` using the default en_US.UTF-8 locale, which created an entry order different from the expected output. Resolves: RHEL-6454