get names in order