Move all negative elements to end

· Dev.to