Allow resource collections to be sorted by virtual columns