Hi need a hand with my code as I can get it to sort but it wont sort the right field.

I need it to sort by part_number but only can get it to do customer_number , any ideas would be greatly appreciated to show me where Im going wrong.

Thanks
gstar.

//Defines the entry point for the console application.
//

#include "stdafx.h"
#include <stdio.h>
#include...