Added sort feature to selects

jQuery editable uses json key/value pairs to populate the options of a select field. This option allows you to sort the output based on the labels rather than the values.

USAGE

$('.select_edit').editable(url, {
    data: myJSON,
    type: 'select',
    sort: {order: 'ASC'} // or 'DESC' anything other than ASC will sort descending
});