Fixed not updating odd and even classes on sort