fix table view bug
- files and directory sequence isn't correct.