added reorder button functionality, resolved issue #5