I have a construction like
Word :: struct {
word: string,
freq: u32,
}
words: [dynamic]Word
// Appending a couple of Words...
Can I use a function in core:sort
to sort the words
array with respect to freq
or do I need to write a custom sort function?