fix topics sorting