Implementation of Comparable

helpful for sorting and compare objects containing ProtectedInt Objects