Get Input Textbox Value Javascript Array Sort Objects