azavea/net-om-utils-common — pull request #1 by kdeloach (2014-10-18 23:24:14+00:00)
Title: Fix incorrect SmartCompare logic

This fixes the "TestSmartCompare" unit test.

This sort logic was resulting in "01" appearing after "1" when it should
really appear first.

The cause was that "01" and "1" are converted to numbers and then compared.
Since they are equal in value, their sort order does not change.

The result is to fallback to String.CompareTo if double.CompareTo
returns 0.