Generates HTML table based on JSON data, features ability to sort table by column values