BOOL &operator < (const char* first, const char* second) { if(!first) return true; if(!second) return false; int i = 0; while(1) { if(first[i] && first[i] == second[i]) continue; return first[i] < second[i]; } }