move sort hint to lecture