Sort:  

On the value when it was earned. So you'll need the ability to do a historical lookup and find the average price or the closing price on the day that earned it.

Define earned first?

Is that the moment when the curation/author rewards get accredited to your account?
Or the moment you claim your tokens?