Six spheres, six weighings.
If you grow impatient with the narrative, you can skip to the TL;DR, below.
An engineer was walking across the street, on the way back from lunch, when bam, hit by a bus.
She opened her eyes, to see a man standing before her, with pointy teeth, bloodshot eyes, and spiral horns. The man held a 3-pronged spear in his left hand and 6 shiny spheres in his right. He twitched his fingers and the spheres danced around one another, like David Bowie, but with more fingers.
"What am I doing here?"
"Well, you died..."
"I figured that much out, but what am I doing here?"
"Well, you led a mostly virtuous life, but you did have a habit of eating tunafish on Tuesdays..."
"Eating tuna on Tuesdays is forbidden? No one ever told me that!"
"They didn't? How unfortunate for you." He grinned. "Anyway, as I said, you led a mostly virtuous life, so you are being granted the opportunity to fight for your eternal soul. Metaphorically, of course. I have a puzzle for you. Solve it, and you can take the stairway up. Fail, and go the other direction."
Having worked many years as an engineer, she was used to ridiculous demands. "OK, what's the puzzle?"
"Notice that these spheres are different colors. Note that they also have different weights. Each one has a unique weight of either 1001, 1002, 1003, 1004, 1005, or 1006 grams. Over there by that door are six holes. To open the door, put the spheres in the holes in order, lightest to heaviest, from left to right. Then you may leave. Put them in in any other order, and the trapdoor below you opens. You can guess where that leads."
"How am I supposed to differentiate such minute weight differences?"
"With this." The man planted the base of the spear into the dirt. The three points morphed and dropped, turning into three pans. "This is a three-pan balance. Put things into the pans, set the whole thing spinning, and when it stops spinning, the lightest pan will rise."
He handed her the six spheres. "You will not be able to mark or alter the spheres in any way, but as you see, they are six different colors, and I assure you the colors won't change. You may scratch notes in the dirt, if you like."
She hefted the spheres. Sure enough, they all felt the same. She estimated they were about 10cm in diameter.
He raised a finger. "Oh, and I almost forgot to mention: you are only allowed a maximum of six weighings. Experiment all you like, but once you start the scale spinning, you are committed. After the sixth weighing, the scale will revert back to a spear. Also, don't bother trying to guess. The spheres were arranged by my pet precognitive demon who divined exactly what steps you would take. If you get to a point where the the answer is ambiguous, whatever guess you make will be wrong."
She experimented putting spheres into the pans. The pans were cups, shaped to match the bottom 1/3 of the spheres.
When she tried balancing two spheres onto one pan, she couldn't get it to work. "Can I really only put one sphere per pan?"
"Correct. If you attempt to put two or more spheres on a pan, you will not succeed."
"Hmm. What happens if there is no lightest pan? What if the two lightest pans held the same weight?"
"The spheres are all different weights, so you can't really do that. But if you somehow managed to, then no pan would rise."
She did some thinking, scribbled in the dirt. "Am I under any time pressure?"
"No, you literally have forever. Take as long as you like."
She did two weighings and noted the results. While she was contemplating what to do next, she heard a snip and felt something bounce off the back of her head. She caught it as she turned around. The man was sitting on a barrel, using a pair of shears to trim his toenails.
He looked up. "You looked like you might be a while. And these things do grow deucedly fast, so I figured, while I wait..." snip ... catch
"You realize the puzzle you've given me is impossible, right?"
"Oh really? Surely you know that $6! < 3^6$, so it ought to be possible. Or are you just giving up already?"
"That's not what I said..." snip ... catch
She looked down at the clippings she had caught. They were each about 1cm across. "Say, these are all remarkably similar."
"Yeah, like I said, they grow fast. After snipping each one literally millions of times, I've grown rather consistent. Each of my toenail clippings weighs exactly one gram."
snip ... catch "Yep."
"That's great." She turned around and did a bunch more scribbling in the dirt. "Ah ha!" She then did the rest of her weighings, took the spheres over to the door, put them in the holes, and with heavenly chimes, the door opened. Behind it was a staircase leading up.
"Well, that's a first," the man said.
She peered up the staircase. The top was lost in the distance. "How far is it?"
"How far do you think, from the center of the Earth to the top of the sky? Only about a hundred...million steps. Have a nice climb!"
And the door slammed behind her, echoes of his cackling lingering on the air.
You have six spheres, identical except for color and weight. The weights are 1001, 1002, 1003, 1004, 1005, and 1006 grams. By hand, you cannot possibly distinguish them.
You have a three-pan balance. Put whatever you like in the pans, activate the scale, and if there is a unique lightest pan, that pan will rise. If there is no unique lightest pan, no pan will rise. This scale differs from those in other puzzles in that you cannot put 2 or more spheres onto any one pan at a time.
You have six weighings to sort the spheres from lowest weight to highest.
You also have up to 10 toenail clippings, which each weigh exactly one gram. These are not provided until after you've made your first two weighings.
Your plan needs to solve all possible combinations, with no ambiguity, and zero chance of needing to guess.
How did she do it?
Bonus question: What is the minimum number of clippings needed?