Re-ordered classes based on importance.