Build your own AND/OR statements with jQuery UI Sortable