add "get_by_order" to Entity.py