serverSelectFilter ordering

The serverSelectFilter works with the same feed as for a richSelect (list of id, value) BUT it sorts by value and not by id, which can be wrong. How can this be fixed?