the sort sequence used by 'orch ps' is not in a natural sequence
orch ps returns a sequence like this;
packages like natsort handle sequences like this correctly
#2 Updated by Redouane Kachach Elhichou 10 months ago
Thanks for reporting. Going with natural sort in general I think it's a good idea and would help the users to read easily the output. My only concern is about the behavior itself as the sorting wouldn't be consistent with other commands (such ash 'orch ls', etc).
I mean if we use natural sorting, shouldn't we use it everywhere for consistency and not only for the 'orch ps' command?
#4 Updated by Redouane Kachach Elhichou 10 months ago
Ok, great. We had a discussion in upstream and we think that it makes more sense to implement the behavior per command since only a subset of commands would benefit from using a natural sorting algorithm. We will start by implementing it for "orch ps" and then extend the support to other commands with similar needs.