function sort_toDo_List_by_name(){
        thingsToDo.sort(function (a, b) {
            return a.name.localeCompare(b.name);
        });   
    }
//Sort thingsToDo (An Array) by Name

Sort thingsToDo (An Array) by Name
Sort thingsToDo ( An Array ) by Name
function sort_toDo_List_by_name(){
        thingsToDo.sort(function (a, b) {
            return a.name.localeCompare(b.name);
        });   
    }
function sort_toDo_List_by_name ( ) { thingsToDo . sort ( function ( a , b ) { return a . name . localeCompare ( b . name ) ; } ) ; }
Sort thingsToDo (An Array) by Name
Sort thingsToDo ( An Array ) by Name