First possible optimized implementation of moving all instances of given number to end of array

Published --