2. The method of claim 1 , wherein the reordering comprises: assigning a numerical rank to each of the symbols based on how frequently they occur; multiplying each numerical rank by a window size to generate values for each of the symbols; adding the generated values to the corresponding weights to generate modified weights; and reordering the symbols in the weighted query sequence according to the modified weights.
2. The method of claim 1 , wherein the reordering comprises: assigning a numerical rank to each of the symbols based on how frequently they occur; multiplying each numerical rank by a window size to generate values for each of the symbols; adding the generated values to the corresponding weights to generate modified weights; and reordering the symbols in the weighted query sequence according to the modified weights. 3. The method of claim 2 , wherein the generated values are further multiplied by 2 before they are added to the corresponding weights.