added order to classes

Added order to classes