I am using ASP.net MVC4 and am trying to accomplish a simple sort , so far I have found how to make the whole database sortable - by using ActionLink buttons in my View (failed to make it work btw...), but what I am trying to accomplish is a permanently sorted database. 

My view and controller are both scaffolded at the moment, no changes made to this part. I am trying to make the record with the least TimeRemaining to always show up on top of the list. 

Thanks!

My Database:

```
public class EquipmentDataBase    {
    public int ID { get; set; }
    [DisplayName("Name")]
    public string equipment { get; set; }
    [DisplayName("Inv.Nr.")]
    public string InventoryNumber { get; set; }
    [DisplayName("Location")]
    public string Location { get; set; }
    [Required(ErrorMessage ="Please specify date")]
    [DataType(DataType.Date)]
    [DisplayName("Next Inspection")]
    public DateTime NextInspectionDate { get; set; }
    [Required(ErrorMessage ="PleaseSpecifyRegistrationDate")]
    [DataType(DataType.Date)]
    public DateTime RegistrationDate { get; set; }
    public string Responsible { get; set; }
    public TimeSpan TimeRemaining 
    {
        get
        {
            return (NextInspectionDate - DateTime.Today); 
        }
    }

```

My Controller:

```
namespace PeriodicInspections.Controllers {
public class EquipmentDBController : Controller
{
    private EquipmentDbContext db = new EquipmentDbContext();

    // GET: EquipmentDB
    public ActionResult Index()
    {
        return View(db.equipment.ToList());
    }

```