@Override
    public int hashCode() {
        int result = width;
        result = 31 * result + height;
        return result;
    }
Default sort order is ascending by size.
zxing-android-embedded/src/com/journeyapps/barcodescanner/Size.java