order details in HTML representation