Sort Int Array Javascript Push Button