tweaked list sorting