Phase rotation - CBA vs ABC
There are two common conventions of phasor rotation, which is either ABC counterclockwise or ACB counterclockwise. Any AC system strictly adhere to one of this for all their protective/metering devices. 


The phasor displayed by you above clearly show ACB counterclockwise AC input phasor, if the input is not counterclockwise then your programme is wrong. 
The phasor is curiously showing leading current angle, unless you are sure the load input to the meter is capacitive if not the programme is not correct. Better said 99.9% of Electrical loads are inductive thus expected current angle should be lagging voltage, hence there is need to check your input parameters for the software you are using/developing.