/** * The function used to reorder items in the field after a reorder button from the item has been clicked * * * @param {array} list array of all items in the field * @param {string} droppedId dragged and dropped id * @param {string} direction direction to move the item to * @param {string} fieldName name of dropped item field * @returns {array} newList array object contains items in new order */ export function onDirectionalReorder(list: any[], droppedId: string, direction: string, fieldName: string): any[];