I'm trying to use sortData with no success.

What am I doing wrong?

Code:
function main()
{
	var Data[6] = {1,7,10,0,12,19};

	
	sortData (var* Data,6);      //syntax error!
	
	
	for (int i=0, i<6, i++)
	{
		printf("n%d, "Data[i]);
	}
	
	
}




I'm working on a support and resistance indicator. The array will contain price values later on. This is why I declared the array as "var".