sorting no longer choose DOM_object to edit
add create_ids_array
fix problem with double request when sorting item between two groups
remove global variables and useless console.log