Add sorting functionality to prototype.

Large to small sorting available currently.