use a multiset to store sorted posting list