add heap sort algorithm and replace service name