Generates arbitrary-precision, comparable values, appropriate for use as sorting keys