Table sorted by column only displayed correctly in Designer

Copy and paste the table component into a post here. See Wiki - how to post code on this forum.

If the table's data is coming from a binding then copy and paste the PROPS.data as well (because the binding won't work for us).