allow works to be sorted by type