Sort the output of the command "ls -l" and pipe it to the command "cut -d " " -f4 | head -1" and then pipe the output of that to the command "cut -d "." -f1".
sort <(ls -l | tee >(cut -d " " -f4 | head -1)) | cut -d "." -f1