corresponding result with name in output html

Names are sorted but the results are not corresponding

Change-Id: Ia1cfe97c7eed72ee175d0360f8d1989005a87f5a