AMD Interview Question

There is a sequence of integer numbers, write a function to reverse the order of numbers.