1. A method of sorting a first set of characters and a second set of characters, wherein the method comprises: generating a weight array for the first set of characters, thereby providing a plurality of weighting values for the first set of characters; comparing the plurality of weighting values for the first set of characters to an assigned set of weighting values for the second set of characters; and sorting the first and second set of characters based on the comparison of the plurality of weighting values and assigned weighting values.