<p>I can get the following to work it won't sort thephone_numbers.dat file for the java program</p><p>Complete the implementation for the Sort menu item in the Editmenu. When Sort is selected,
<p>Do in javascript</p><p>// Complete the following two functions</p><p>//Check if the given state is a goal state<br/>//Returns: true if is goal state, false otherwise<br/>function is_goal_state(state) {<br/>++helper_eval_state_count; //Keep track of how many