status: Fix a sorting issue in the treewalker
status: Fix a sorting issue in the treewalker

This ensures that entries from the working directory are retrieved according to the following rules:

 - The file "subdir" should appear before the file "subdir.txt"
 - The folder "subdir" should appear after the file "subdir.txt"

Aorjoa/libgit2_maked_lib,sim0629/libgit2,raybrad/libit2,nokiddin/libgit2,chiayolin/libgit2,iankronquist/libgit2,nokiddin/libgit2,mingyaaaa/libgit2,nokiddin/libgit2,yosefhackmon/libgit2,dleehr/libgit2,kissthink/libgit2,kissthink/libgit2,kenprice/libgit2,swisspol/DEMO-libgit2,JIghtuse/libgit2,dleehr/libgit2,magnus98/TEST,sygool/libgit2,skabel/manguse,sim0629/libgit2,Tousiph/Demo1,Tousiph/Demo1,mrksrm/Mingijura,whoisj/libgit2,dleehr/libgit2,swisspol/DEMO-libgit2,falqas/libgit2,jeffhostetler/public_libgit2,leoyanggit/libgit2,chiayolin/libgit2,mhp/libgit2,nacho/libgit2,jamieleecool/ptest,iankronquist/libgit2,ardumont/libgit2,MrHacky/libgit2,raybrad/libit2,JIghtuse/libgit2,stewid/libgit2,saurabhsuniljain/libgit2,mcanthony/libgit2,oaastest/libgit2,claudelee/libgit2,t0xicCode/libgit2,mhp/libgit2,sygool/libgit2,sygool/libgit2,spraints/libgit2,oaastest/libgit2,magnus98/TEST,nokiddin/libgit2,Snazz2001/libgit2,KTXSoftware/libgit2,jamieleecool/ptest,Tousiph/Demo1,falqas/libgit2,rcorre/libgit2,jeffhostetler/public_libgit2,rcorre/libgit2,claudelee/libgit2,swisspol/DEMO-libgit2,stewid/libgit2,MrHacky/libgit2,joshtriplett/libgit2,mhp/libgit2,zodiac/libgit2.js,mhp/libgit2,chiayolin/libgit2,MrHacky/libgit2,linquize/libgit2,rcorre/libgit2,KTXSoftware/libgit2,since2014/libgit2,leoyanggit/libgit2,since2014/libgit2,jflesch/libgit2-mariadb,evhan/libgit2,chiayolin/libgit2,yosefhackmon/libgit2,magnus98/TEST,jeffhostetler/public_libgit2,yongthecoder/libgit2,ardumont/libgit2,Corillian/libgit2,jflesch/libgit2-mariadb,yongthecoder/libgit2,nacho/libgit2,mrksrm/Mingijura,amyvmiwei/libgit2,oaastest/libgit2,chiayolin/libgit2,JIghtuse/libgit2,maxiaoqian/libgit2,Aorjoa/libgit2_maked_lib,Corillian/libgit2,claudelee/libgit2,Snazz2001/libgit2,t0xicCode/libgit2,jflesch/libgit2-mariadb,sygool/libgit2,amyvmiwei/libgit2,maxiaoqian/libgit2,rcorre/libgit2,MrHacky/libgit2,swisspol/DEMO-libgit2,Tousiph/Demo1,iankronquist/libgit2,linquize/libgit2,dleehr/libgit2,kissthink/libgit2,skabel/manguse,oaastest/libgit2,Snazz2001/libgit2,claudelee/libgit2,iankronquist/libgit2,ardumont/libgit2,jflesch/libgit2-mariadb,spraints/libgit2,rcorre/libgit2,swisspol/DEMO-libgit2,yongthecoder/libgit2,joshtriplett/libgit2,linquize/libgit2,sim0629/libgit2,mhp/libgit2,spraints/libgit2,jeffhostetler/public_libgit2,saurabhsuniljain/libgit2,linquize/libgit2,falqas/libgit2,amyvmiwei/libgit2,amyvmiwei/libgit2,kenprice/libgit2,evhan/libgit2,mingyaaaa/libgit2,raybrad/libit2,leoyanggit/libgit2,magnus98/TEST,dleehr/libgit2,kissthink/libgit2,ardumont/libgit2,KTXSoftware/libgit2,jeffhostetler/public_libgit2,saurabhsuniljain/libgit2,amyvmiwei/libgit2,yongthecoder/libgit2,mingyaaaa/libgit2,kenprice/libgit2,jeffhostetler/public_libgit2,mcanthony/libgit2,Corillian/libgit2,zodiac/libgit2.js,dleehr/libgit2,since2014/libgit2,mcanthony/libgit2,oaastest/libgit2,whoisj/libgit2,falqas/libgit2,KTXSoftware/libgit2,spraints/libgit2,kissthink/libgit2,JIghtuse/libgit2,Corillian/libgit2,magnus98/TEST,KTXSoftware/libgit2,mcanthony/libgit2,mhp/libgit2,sygool/libgit2,mcanthony/libgit2,whoisj/libgit2,joshtriplett/libgit2,ardumont/libgit2,spraints/libgit2,jflesch/libgit2-mariadb,since2014/libgit2,Tousiph/Demo1,saurabhsuniljain/libgit2,jflesch/libgit2-mariadb,skabel/manguse,skabel/manguse,nacho/libgit2,stewid/libgit2,saurabhsuniljain/libgit2,mingyaaaa/libgit2,sim0629/libgit2,Snazz2001/libgit2,Tousiph/Demo1,iankronquist/libgit2,yosefhackmon/libgit2,kenprice/libgit2,nokiddin/libgit2,yongthecoder/libgit2,maxiaoqian/libgit2,JIghtuse/libgit2,stewid/libgit2,Aorjoa/libgit2_maked_lib,whoisj/libgit2,yongthecoder/libgit2,zodiac/libgit2.js,iankronquist/libgit2,swisspol/DEMO-libgit2,since2014/libgit2,t0xicCode/libgit2,chiayolin/libgit2,falqas/libgit2,Aorjoa/libgit2_maked_lib,Corillian/libgit2,t0xicCode/libgit2,t0xicCode/libgit2,maxiaoqian/libgit2,ardumont/libgit2,linquize/libgit2,Snazz2001/libgit2,claudelee/libgit2,since2014/libgit2,mingyaaaa/libgit2,kenprice/libgit2,Snazz2001/libgit2,sim0629/libgit2,whoisj/libgit2,mrksrm/Mingijura,leoyanggit/libgit2,skabel/manguse,JIghtuse/libgit2,kenprice/libgit2,raybrad/libit2,jamieleecool/ptest,Aorjoa/libgit2_maked_lib,mrksrm/Mingijura,yosefhackmon/libgit2,jamieleecool/ptest,zodiac/libgit2.js,whoisj/libgit2,yosefhackmon/libgit2,kissthink/libgit2,mrksrm/Mingijura,mingyaaaa/libgit2,leoyanggit/libgit2,rcorre/libgit2,raybrad/libit2,evhan/libgit2,magnus98/TEST,leoyanggit/libgit2,amyvmiwei/libgit2,spraints/libgit2,joshtriplett/libgit2,Corillian/libgit2,falqas/libgit2,linquize/libgit2,yosefhackmon/libgit2,evhan/libgit2,claudelee/libgit2,mcanthony/libgit2,joshtriplett/libgit2,MrHacky/libgit2,KTXSoftware/libgit2,MrHacky/libgit2,skabel/manguse,nokiddin/libgit2,maxiaoqian/libgit2,saurabhsuniljain/libgit2,stewid/libgit2,maxiaoqian/libgit2,t0xicCode/libgit2,zodiac/libgit2.js,sim0629/libgit2,oaastest/libgit2,nacho/libgit2,stewid/libgit2,mrksrm/Mingijura,sygool/libgit2,joshtriplett/libgit2