Example using boxing to control sorting.