diff --git a/app/javascript/sessions/room_picker.vue b/app/javascript/sessions/room_picker.vue index 1dfeaadc9..61bf01446 100644 --- a/app/javascript/sessions/room_picker.vue +++ b/app/javascript/sessions/room_picker.vue @@ -21,7 +21,7 @@ export default { }), computed: { roomOptions() { - return [{text: "No room selected", value: null}, ...this.collection.map(r => ({text: r.name, value: r.id}))] + return [{text: "No room selected", value: null}, ...this.collection.sort((a,b) => b.sortorder - a.sortorder).map(r => ({text: r.name, value: r.id}))] } }, mounted() {