table sorter for materials page
attribution