Allow for easy entity sorting