Fixes the Ord instance.

This is a fix for #1. It now takes into account the number of digits that were being ignored.