Added function to highlight active word in sorted lists