I believe this resolves issue many folks are having. The original code made the assumption that the files passed to angular-file-sort are not in the correct order (unlikely but does occur). Reversing of the array should only occur if toSort has some elements in it.
I believe this PR address #30 #27 please look over this and let me know if I am correct in my analysis
I believe this resolves issue many folks are having. The original code made the assumption that the files passed to angular-file-sort are not in the correct order (unlikely but does occur). Reversing of the array should only occur if toSort has some elements in it.
I believe this PR address #30 #27 please look over this and let me know if I am correct in my analysis