I am using a many2one field x_stage for a statusbar on a custom model. I want to sort the stages based on a field x_sequence, so they appear in a specific order. Right now, they are sorted by the record id.
Is there a way to change the default sort in the status bar so they appear in the correct order?