Adding red black tree sorter