Pocket Gems Interview Question

Sorting a list of some random type.