Added natural sorting and default sorting to tables