Added up and down table order