Dico is a tablevar Dico = initTablestring, int #wc is a tuple type wc = tuple word: string count: int wc_seq is a sequencevar wc_seq: seq[wc] for p in Dico.pairs: wc_seq.add(p) sorting the sequence:wc_seq.sort(myCmp)
var Dico = initTablestring, int
#wc is a tuple
var wc_seq: seq[wc]
wc_seq.sort(myCmp)