Updated file and folder sort algorithm, no DOM abuse now.
Merge branch 'master' of https://github.com/rossmartin/phonegap-dropbox-sync