C++ Fix Sort Function for items number (Ascending Order)
Budget: $15 – $30 USD
Hello,
I work with a program writted in C++ (Open Source), Called Remeres Map Editor:
https://github.com/hampusborgos/rme
On that program, there a search button that find items on that, and export in search results with this format:
https://www.toptal.com/developers/hastebin/okereniput.makefile
If i search for Action IDS, the program sort in ascending order for AID.
If i search for Unique IDS, the program sort in ascending order for UID.
The problem is that its not sorting correctly, as you can see here:
https://www.toptal.com/developers/hastebin/okereniput.makefile
Its starting showing 100, go to 1000 and back to 101. I need fix it to sort correctly.
The file to fix it you can view here:
https://github.com/hampusborgos/rme/blob/8bf57e35a60579b080a0a507fa79d67f1c5836af/source/main_menubar.cpp
We have a function called:
void sort() -> it call ->static bool compare
Search function is: void MainMenuBar::SearchItems
I work with a program writted in C++ (Open Source), Called Remeres Map Editor:
https://github.com/hampusborgos/rme
On that program, there a search button that find items on that, and export in search results with this format:
https://www.toptal.com/developers/hastebin/okereniput.makefile
If i search for Action IDS, the program sort in ascending order for AID.
If i search for Unique IDS, the program sort in ascending order for UID.
The problem is that its not sorting correctly, as you can see here:
https://www.toptal.com/developers/hastebin/okereniput.makefile
Its starting showing 100, go to 1000 and back to 101. I need fix it to sort correctly.
The file to fix it you can view here:
https://github.com/hampusborgos/rme/blob/8bf57e35a60579b080a0a507fa79d67f1c5836af/source/main_menubar.cpp
We have a function called:
void sort() -> it call ->static bool compare
Search function is: void MainMenuBar::SearchItems