Remove spurious log functionality
Added ordering