sort list assignment