template&lt;typename t&gt;void shaker_sort(t data[],int num_elements)