        <input type="text" v-model="a">
        <ul>
            <li v-for="val in arr | orderBy 'o'">
                {{val}}
            </li>
        </ul>
    </div>
    <script>

        var vm=new Vue({
            data:{
                arr:['width','height','background','orange'],
                a:''
            },
            methods:{

            }
        }).$mount('#box');

    </script>
</body>
</html>



















