Sort functionality for tables in edit mode

Current v4.3.2; we are in the process of upgrading to v5.5


While viewing a page with a table you can click on the column headers and it will sort it, but this doesn't carry over into edit mode. As you continue to build out the table it is difficult to manage the table if you cannot sort the content while in edit mode. 


Is there a way to accomplish this? Is this a feature available in v5.5? 


Bringing you into this smile @Andrew Pawl

6 answers

1 accepted

This widget could not be displayed.

Link to new feature request:

The issue is this request is marked "resolved" "will not fix". I commented and started watching it anyways. Maybe if we all comment and get enough people behind use they can reconsider.

I was hoping this would be in the upcoming release announced at the summit this year with its enhancements to editing, but I guess not Sad :(

Steven Behnke Community Champion Sep 26, 2014

It might be worth investigating a new plugin if they are going to ignore the obvious need for in-editor sorting.

I agree. I'm going to start looking. Let me know if you happen to come across one.

Steven Behnke Community Champion Sep 26, 2014

I was going to see if I can mock something up in speakeasy. I was hoping I could give some resources to our dev and he could whip something up. I will of course update if anything comes from this because not being able to sort content in confluence is lame.

This widget could not be displayed.

There is a workaround for this capability:

  1. View your table normally
  2. Sort the table as desired using the column sort capability.
  3. Select the table contents and copy to your clipboard.
  4. Change to edit mode.
  5. Select the table contents and paste from your clipboard.  

This worked for me with a simple text table.

This widget could not be displayed.

Hi Rick,

I believe this is not possible at the moment so I've created a improvement request for you here:

I recommend to vote and ask your colleagues to vote as well to increase the ticket popularity.

I hope this helps.



Steven Behnke Community Champion Sep 25, 2014

definitely going to vote for this myself.

This widget could not be displayed.

Just to add this information. I've tested on the latest confluence 5.6.3 and this feature is not available up to this version of the application.

This widget could not be displayed.

Just wondering. How do you guys imagine sorting the table while the content is being changed on the fly? What content should be sorted then? Only a selected column separately or the whole table? And what should happen after entering a new row or editing an existing row, which already participates in sorting logic? Well, I guess guys from Atlassian could code something, but usability of such a table could be an issue.


Just an opinion. 

It should work the same way a table works in Word.  You can sort any column, or multiple columns.  The fact that the document is being "changed on the fly" is irrelevant.  Resorting the table is incredibly easy in Word.  Same should be true here also.

Minimally, even if you can sort in Edit in Confluence, you should at least be able to save the sorted table.  Right now, you can sort it when it's NOT in Edit mode, but the sort is not saved, so it becomes useless.  Once you've sorted the table, you should have the option of saving it sorted, or discarding the sort -- which is what happens now automatically.  This is extremely frustrating and reflects very badly on the usability of the tables.  Whomever is developing them obviously never actually uses them in real-world situations.

This widget could not be displayed.

It possible to sort and filter table in editor if you use Table Filter macro: put a table inside the macro and sort this table with Ctrl+Click on table header. And works well with editing a table, adding and removing rows and columns, etc.

Additionaly you can configure default sorting on one or multiple columns.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

627 views 8 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you