c++,如何比较大小.

请对下面代码中的&a,&b,ap,bp从小到大的排序,
// inta,b;
// intap= new int;
// int
bp= new int
期待您的解答。

用c++的sort排序