Incorporated Level class into reordering.