Sort Topics by code