Clean up sorting functions for mixed text and numbers
Bug #1752298 reported by
Simon Richter
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Expired
|
Low
|
Bug Description
This is a possible task for beginners.
There are several implementations of sorting functions for mixed text/number strings that split the string and sort number parts numerically, i.e. "A1", "A2", "A10", "B1", ...
It would be nice to unify these into a single utility function. This function should have an option to switch to the ordering for BGA pad numbers, where "AA" sorts behind "B".
Some existing implementations:
eeschema/
eeschema/
I'm sure there are some others.
tags: | added: starter |
Changed in kicad: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in kicad: | |
assignee: | nobody → Pradeepa Senanayake (pradeepas) |
To post a comment you must log in.
Also, "RefDesStringCo mpare" in common/strings.cpp