Add "sort by filetype" option to cache contents table