I've added a variation of the above sorting code to the latest update of the plugin, so that all sorting can be controlled by a new setting $qo_model_sortorder in the qo_settings.php file.