public static void listSalariesOrder(EntityManager entityManager) {
		TypedQuery<Employee> query = entityManager.createQuery(
				"select e from Employee e order by e.salary desc",
				Employee.class);
		List<Employee> resultList = query.getResultList();

		entityManager.close();

		for (Employee employee : resultList) {
			System.out.println(employee);
		}
	}