rem: PRINT(("%s\n", __PRETTY_FUNCTION__));
context: sort_rects(clipping_rect *rects, long count){	PRINT(("%s\n", __PRETTY_FUNCTION__));	bool again; //flag that tells we changed rects positions				if (count == 2) {		if (rects[0].top > rects[1].top) {			clipping_rect tmp = rects[0];			rects[0] = rects[1];			rects[1] = tmp;		}	} else if (count > 2) {		do {			again = false;			for (long c = 1; c < count; c++) {				if (rects[c - 1].top > rects[c].top) {					clipping_rect tmp = rects[c - 1];					rects[c - 1] = rects[c];					rects[c] = tmp;					again = true;				}			}		} while (again); 	}}