I'm trying to create a component that will display a list of items from a HubDB database and want to work out how to cover up for the times when people forget to fill in that field.
The field in question is
priority and if priority is left unfilled I want it to default to
-999999… or as close to negative infinity as possible.
Is this possible using map, or can sort auto send unfilled items to the end of the array?
At the moment I'm getting a