Page 1 of 1

signal sorting/order property

Posted: Sun Jul 15, 2018 9:01 pm
by ownlyme
it would be nice if somewhere (in the prototype, or in the control) you could set an order string for a signal, if it has such a string, simply put it in the front or at the end, and sort it with other signals that also have an order string.

Re: signal sorting/order property

Posted: Sun Jul 15, 2018 11:11 pm
by Rseding91
It already works that way :) They're sorted by the order string and then the name.

Re: signal sorting/order property

Posted: Mon Jul 16, 2018 4:25 pm
by ownlyme
nope, they are sorted by value

Re: signal sorting/order property

Posted: Mon Jul 16, 2018 5:13 pm
by Rseding91
The display is sorted by value. The order you see the signals in something like the "select a signal" GUI is by the order property.

Re: signal sorting/order property

Posted: Tue Jul 17, 2018 1:55 am
by ownlyme
i guess my request was a bit vague.
i was hoping you could add a property to sort the signals on combinators and power poles.
this would be very useful if you have signals that get updated very quickly and jump between high and low/zero values.

Re: signal sorting/order property

Posted: Tue Jul 17, 2018 11:19 am
by mrvn
Or at least change the display to only sort signals once every few seconds. I often have signals where two values are nearly equal and swap position every frame. Imposible to see what's going on.

Re: signal sorting/order property

Posted: Tue Jul 17, 2018 11:58 am
by eradicator
Or simply add an interface option "don't sort signals by value" so they're always in order-string order. Player interface already has an option to disable auto-sort so it wouldn't be a totally new thing.

Re: signal sorting/order property

Posted: Wed Jul 18, 2018 2:20 pm
by mrvn
A slightly different thing but I'm assuming it's using the same sorting code:

When you hover over a logistic chest the logist items display on the right sorts the same way. Although there is less changes there with the list being far longer items can jump around larger distances. Can make it hard to find something if it constantly escapes where you are looking.

Maybe only sort the signals / items when you start displaying them and keep them in that order.

It would also be nice if the signals/items could scroll when the list is longer than the screen.

Re: signal sorting/order property

Posted: Wed Jul 18, 2018 6:10 pm
by Rseding91
mrvn wrote:A slightly different thing but I'm assuming it's using the same sorting code:

When you hover over a logistic chest the logist items display on the right sorts the same way. Although there is less changes there with the list being far longer items can jump around larger distances. Can make it hard to find something if it constantly escapes where you are looking.

Maybe only sort the signals / items when you start displaying them and keep them in that order.

It would also be nice if the signals/items could scroll when the list is longer than the screen.
You can use "L" to open the logistics GUI if you want to see that information.

Re: signal sorting/order property

Posted: Tue Jul 24, 2018 4:05 pm
by ownlyme
at least group them by type: virtual, fluid, item.
or: they all have an index, why not use that (at least on the combinator itself)

this is a huge deal without any real workarounds.
hotfix pls...

Re: signal sorting/order property

Posted: Tue Jul 24, 2018 5:50 pm
by eradicator
From a player-standpoint the "don't resort them while the thing is selected" approach sounds ok. It's only a minor change compared to current behavior and solves the problem of oscillating values.

Re: signal sorting/order property

Posted: Wed Jul 25, 2018 8:27 pm
by IngoKnieto
eradicator wrote:Or simply add an interface option "don't sort signals by value" so they're always in order-string order. Player interface already has an option to disable auto-sort so it wouldn't be a totally new thing.
+1 for this option ;)