Add ListProperty.setComparator.

This applies a comparator to the ListProperty, similar to
ListProperty.sort, but will continually re-apply the comparator as the
list changes.