Implemented sorting of users data by name, also included national characters order
cleaned up code