https://dev.to/jaya_srij_c37a6ea796335c/move-all-negative-element-to-end-58i5