Definition at line 18 of file TableDataView.h. Referenced by Impala::Application::MediaTable::TableDataView::SortAndFilterText(). 00019 { 00020 unsigned int i=0; 00021 String first = a.first; 00022 String second = b.first; 00023 while ( (i < first.length()) && (i < second.length()) ) 00024 { 00025 if (tolower(first[i])<tolower(second[i])) 00026 return true; 00027 else if (tolower(first[i])>tolower(second[i])) 00028 return false; 00029 ++i; 00030 } 00031 return first.length() < second.length(); 00032 };
|