sort the shards (using selection n^2 sort at the moment), point same terms to same *runes pointers, so we can quickly check if terms are equal