e.g.)
befere:
file1.txt
file100.txt
file2.txt
after: ↓
file1.txt
file2.txt
file100.txt
return -1;
if (!ldi.diffcode.isDirectory() && rdi.diffcode.isDirectory())
return 1;
return -1;
if (!ldi.diffcode.isDirectory() && rdi.diffcode.isDirectory())
return 1;
- return strutils::compare_nocase(ColFileNameGet<boost::flyweight<String> >(pCtxt, p, 0), ColFileNameGet<boost::flyweight<String> >(pCtxt, q, 0));
+ return StrCmpLogicalW(
+ ColFileNameGet<boost::flyweight<String>>(pCtxt, p, 0).get().c_str(),
+ ColFileNameGet<boost::flyweight<String>>(pCtxt, q, 0).get().c_str());