'approved', {'position': 1, 'status_for': 'owner'}
'pending', {'position': 1, 'status_for': 'all'}
'rejected - owner', {'position': 2, 'status_for': 'owner'}
'cancelled', {'position': 2, 'status_for': 'all'}
'rejected - developer', {'position': 3, 'status_for': 'dev'}
'closed', {'position': 5, 'status_for': 'dev'}
Sort dictionary of dictionaries by value