renaming classes
Added reverse sorts