fixed sorting order with hg-repeat