Sort order for free trial period

When sorting systems by free trial period, it should sort by the length of time of the period. Currently it appears to be doing a lexicographical sort, i.e. “7 days” appears between “90 days” and “30 days”.