Added Reversable sort option.