arrange the list