entity list is now sorted by code. Before, there was no sort.