remove Integer.get_sort_key hack
refactor Log to give more accurate results
add test for large Integer comparison bug