rohanrhu / gdb-frontend

☕ GDBFrontend is an easy, flexible and extensible gui debugger. Try it on https://debugme.dev
https://oguzhaneroglu.com/projects/gdb-frontend/
GNU General Public License v3.0
2.82k stars 101 forks source link

"Load File" directory traversal should sort entries alphabetically #12

Closed ell1e closed 3 years ago

ell1e commented 3 years ago

"Load File" directory traversal should sort entries alphabetically. Right now it seems to be completely random making it kind of unusable:

Screenshot from 2020-10-08 09-28-44

rohanrhu commented 3 years ago

Added a JavaScript sort. (https://github.com/rohanrhu/gdb-frontend/commit/cdb562c7292c684cc31635ee48e1de2197b2f74e)

ell1e commented 3 years ago

Is it already supposed to show up as sorted with the latest git version? Sadly, it still seems to be mixed up even though I can see that added .sort() line when I browse in Inspect mode into FileBrowser.js

rohanrhu commented 3 years ago

It must be solved with https://github.com/rohanrhu/gdb-frontend/commit/6cc9fff73be12f87317aa0f12bc46a037a7a3a30

ell1e commented 3 years ago

It works now, very nice work :blush: :+1: