In order to display the tooltip above the input box, try using:
<div style="display:inline-block;" data-toggle="tooltip" data-html="true" title='<img width="180" src="https://..."><br>Use commas to separate the numbers.'>input:ansSorted validation:ansSorted feedback:prtSorted</div>