sorted basenames