Issue #8733 by turegjorup: Fixed slide sortning when pushing to Middleware