Title: Sorting with column headers
Last modified: July 9, 2023

---

# Sorting with column headers

 *  Resolved [nheels](https://wordpress.org/support/users/nheels/)
 * (@nheels)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/sorting-with-column-headers/)
 * Hey guys, after racking my brain trying to figure this out for the better half
   of my Sunday morning I’m coming to you in desperate need for some fresh brain
   cells.
   I’m embedding the following google sheet into my fathers work website.
   He basically wants to be able to show clients where they stand in the work queue.**
   Link to google spreadsheet:**[https://docs.google.com/spreadsheets/d/12_4PVWLQHjeh4eraPT8IF1O7FpjlPBN06n4JkKSAIqs/edit?fbclid=IwAR3N4ZkDVkVFloEaOg5iIj48u0-h1MCNLDlz694zGsWtrJDcIkolS-atNTs#gid=1386834576](https://docs.google.com/spreadsheets/d/12_4PVWLQHjeh4eraPT8IF1O7FpjlPBN06n4JkKSAIqs/edit?fbclid=IwAR3N4ZkDVkVFloEaOg5iIj48u0-h1MCNLDlz694zGsWtrJDcIkolS-atNTs#gid=1386834576)
   I was able to embed the spreadsheet with the following **shortcode:**[gdoc key
   =”[https://docs.google.com/spreadsheets/d/12_4PVWLQHjeh4eraPT8IF1O7FpjlPBN06n4JkKSAIqs/edit?fbclid=IwAR3N4ZkDVkVFloEaOg5iIj48u0-h1MCNLDlz694zGsWtrJDcIkolS-atNTs#gid=1386834576&#8243](https://docs.google.com/spreadsheets/d/12_4PVWLQHjeh4eraPT8IF1O7FpjlPBN06n4JkKSAIqs/edit?fbclid=IwAR3N4ZkDVkVFloEaOg5iIj48u0-h1MCNLDlz694zGsWtrJDcIkolS-atNTs#gid=1386834576&#8243);
   class=”no-responsive stripe cell-border”]The issue I’m having is that it appears
   to be sorting the data in an odd way. I did attempt to sort the data using the
   shortcode documentation provided on the plugin homepage but it sorted the entire
   table…Any help would be greatly appreciated. Thank you -Nathaniel
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsorting-with-column-headers%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [nheels](https://wordpress.org/support/users/nheels/)
 * (@nheels)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/sorting-with-column-headers/#post-16881640)
 * I think I may have figured out a simple solution, which is to have him remove
   the “project list” name and make that the title of the data table. The sorting
   should then put the first row (indoor/outdoor work) as the theaders and I’m fairly
   certain I can figure out the data sorting (see documentation for those reading
   this) to get it to sort by the same column as the spreadsheet itself.
   Thank you
   for your time -Nathaniel**Edit:** No I lied, I could still use a fresh set of
   eyes. Thanks.
    -  This reply was modified 2 years, 11 months ago by [nheels](https://wordpress.org/support/users/nheels/).
 *  Thread Starter [nheels](https://wordpress.org/support/users/nheels/)
 * (@nheels)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/sorting-with-column-headers/#post-16884154)
 * We reformatted the spreadsheet.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Sorting with column headers’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 2 replies
 * 1 participant
 * Last reply from: [nheels](https://wordpress.org/support/users/nheels/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/sorting-with-column-headers/#post-16884154)
 * Status: resolved