Sort by profession option was added

* Unnessecary object creation was removed