create sortable html table from json format.