Contracts Sorting

We recently added contract sorting to the contracts tab.

The main use case here is sorting contracts by the delivery period.

All-in-all, a small but useful tweak!