You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please verify that this feature request has NOT been suggested before.
I checked and didn't find a similar feature request
Problem statement
We are considering running our production using InvenTree, but we are encountering a problem: we cannot sort our component IDs numerically.
Suggested solution
We would prefer numerical sorting rather than text-based sorting; this makes working with IPNs much easier and allows for better filtering. A filter option to select a specific range or individual numbers would also be useful.
Describe alternatives you've considered
Text-based sorting doesn't necessarily have to be removed entirely in favor of numerical sorting, but the ability to choose the preferred sorting method would be a very helpful feature.
This is a non-trivial problem to solve because sorting happens at the database level.
We have already solved this for order references values (and serial numbers) - these are sorted by storing a duplicate numerical value in a different database column, and sorting on that numerical value first
Hi @HUBERT-535, is your team still on this? If not, I'd like to take it and use the same numeric-column approach as order references and serial numbers.
Activity
SchrodingersGat commentedon Sep 15, 2026
This is a non-trivial problem to solve because sorting happens at the database level.
We have already solved this for order references values (and serial numbers) - these are sorted by storing a duplicate numerical value in a different database column, and sorting on that numerical value first
HUBERT-535 commentedon Sep 24, 2026
Hi @SchrodingersGat ,
My team and I would like to work on this issue as part of our course project.
Could you please assign this issue to us?
mkuchuman commentedon Nov 21, 2026
Hi @HUBERT-535, is your team still on this? If not, I'd like to take it and use the same numeric-column approach as order references and serial numbers.
HUBERT-535 commentedon Nov 22, 2026