move mesh video sort from application controller down to model