Non-recursive merge sort implementation in JavaScript