Add unique identifier for models and add support for sorting in list view