Fix a bug which caused duplicate topics in TopicsListView

The complication is that, because topics are ordered by values in
LessonTopicRelation, the same topic appears once for every unique
lesson-topic relation. The solution is to specify a different ordering
when you want actually unique topics.