Fix sorting

Commit 22625a33a2167cf76563588a963ec6e0aabe81a3 apparently intended to change the sort order so that autocompletion matches that begin with "_" always appear at the end of the list of suggestions; but it was done incorrectly. The comparison function that is passed to Python's `sorted()` function expects a return value of -1/0/1, not True/False.