MerginMaps / MerginMaps/mobile

Implement natural sort in layer order

Open
#3,992 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement ui/ux
Dominant language
C++
Stars
388
Forks
87
Avg merge
2d 7h
Merged PRs (30d)
20

Description

The default sort method in every panel where layer are sorted is alphabetical

However this is not the sort that people except not the sort that is implemented on your computer file browser to sort file. A natural sort would be more suited

For comparison

Alphabetical sort
```
Survey 1
Survey 10
Survey 100
Survey 11
Survey 12
```

Natural sort
```
Survey 1
Survey 2
Survey 10
Survey 11
Survey 100
```

This also happen when user label layers as `10/05/2025` vs` 2/05/2025` or `layer 1.A.2.b `

Exemple wrong sort

Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the mobile panels that sort layers and the existing alphabetical sort entry point; no file or test is identified in the issue. Compare the current ordering with the examples, then verify that numeric and dotted labels use natural ordering consistently across those panels.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
mobile-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.