Title: Save Changes function after sorted
Last modified: August 21, 2016

---

# Save Changes function after sorted

 *  [clickmac](https://wordpress.org/support/users/clickmac/)
 * (@clickmac)
 * [13 years ago](https://wordpress.org/support/topic/save-changes-function-after-sorted-help/)
 * I have a simple table, and the jquery works great for sorting. The fields drags
   an drops perfectly, and updates then and their. Also of course the data in the
   fields are saved in a array. The data in the fields saves after clicking “save
   changes” button but NOT the sort order. The sort order returns to its previous
   state.
 * example:
    1(bb) 2(tom) 3(fred)
 * TO
 * 1(tom)
    2(bb) 3(fred)
 * then clicks “save changes”
 * the sort order does NOT save only the values. what other function i am suppose
   to add, to make this work?
    The jquery works, it does its job of sorting, but
   for WordPress to understand that it was sorted another way, what do I do?

Viewing 1 replies (of 1 total)

 *  Thread Starter [clickmac](https://wordpress.org/support/users/clickmac/)
 * (@clickmac)
 * [13 years ago](https://wordpress.org/support/topic/save-changes-function-after-sorted-help/#post-3822695)
 * after clicking “save changes”
    it returns to its precious state which is
 * 1(bb)
    2(tom) 3(fred)

Viewing 1 replies (of 1 total)

The topic ‘Save Changes function after sorted’ is closed to new replies.

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [clickmac](https://wordpress.org/support/users/clickmac/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/save-changes-function-after-sorted-help/#post-3822695)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
