Dissolve the cornflour in 2 tablespoons of water and set aside.
2 tablespoon water, 1 tablespoon cornflour
Add the pineapple juice, brown sugar, ketchup, soy sauce, and rice wine vinegar to a small pot.
1 cup pineapple juice, ½ cup brown sugar, 4 tablespoons ketchup, 4 tablespoons soy sauce, 2 tablespoons rice wine vinegar
Bring the mixture to a slow boil over medium heat, stirring occasionally.
Add the cornflour mixture to the sauce, stirring continuously.
Simmer the sauce for 5 minutes, or until it thickens to your desired consistency.
Once thickened, remove the sauce from the heat and reserve for use with your pork tenderloin or any other dish you prefer.