Title: Sorting direction
Last modified: September 1, 2016

---

# Sorting direction

 *  Resolved [Md Akter Hosen](https://wordpress.org/support/users/tareqhi/)
 * (@tareqhi)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/sorting-direction/)
 * Hi, I saw the code inside this plugin. I know that, if one can change sorting
   direction by adding some code modifying.
    Here is how:
 *     ```
       if ( '1' == itsg_gform_sortable_js_settings.is_entry_detail ) {
       	jQuery( document ).ready( function( $ ) {
       		// bind sortable plugin to the list
       		jQuery( '.gfield_list_container tbody' ).sortable({
       			placeholder: 'ui-state-highlight',
       			helper: fixHelper,
       			axis : 'y'
       		});
       ```
   
 * in list-field-sortable-script.js file.
    This code will allow users to move the
   rows only vertically. Do you have any plan to make this change by filter from
   outside of plugin code editing? It will be better if you make a filter for it.
   Thanks
 * [https://wordpress.org/plugins/gravity-forms-list-field-sortable-rows/](https://wordpress.org/plugins/gravity-forms-list-field-sortable-rows/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [ovann86](https://wordpress.org/support/users/ovann86/)
 * (@ovann86)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/sorting-direction/#post-8485229)
 * Hey,
 * I wasn’t aware of the axis setting – it’s a huge improvement on usability.
 * I’ll it to the next update.
 * Thanks.

Viewing 1 replies (of 1 total)

The topic ‘Sorting direction’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/gravity-forms-list-field-sortable-
   rows_fafcfd.svg)
 * [Sortable List Fields for Gravity Forms](https://wordpress.org/plugins/gravity-forms-list-field-sortable-rows/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-list-field-sortable-rows/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-list-field-sortable-rows/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-list-field-sortable-rows/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-list-field-sortable-rows/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-list-field-sortable-rows/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ovann86](https://wordpress.org/support/users/ovann86/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/sorting-direction/#post-8485229)
 * Status: resolved