..F....... [ZBXNEXT-570] moved item sorting code out of the CLineGraphDraw class