fun compareTo(other: Snippet): Int
Compares one snippet to other, employing the category and title to compare the two snippets.
Return 0 if equal, -1 if less, 1 if greater