# showRecords() bypasses initialSort?

**URL:** <https://forum.servoy.com/t/showrecords-bypasses-initialsort/4334>\
**Category:** Classic Servoy\
**Created:** [June 10, 2005, 7:15am UTC](https://forum.servoy.com/t/showrecords-bypasses-initialsort/4334 "2005-06-10T07:15:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neale](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@Neale](https://forum.servoy.com/u/Neale)\
**Post date:** [June 10, 2005, 7:15am UTC](https://forum.servoy.com/t/showrecords-bypasses-initialsort/4334/1 "2005-06-10T07:15:01Z")

</div>

In 2.2rc9 I’ve noticed this on a couple of forms which are the subject of showRecords(blah): The initialSort appearsw to be ignored for display but used for printing. any chance of it being used for display too?

Thanks,  
Neale.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [June 10, 2005, 12:08pm UTC](https://forum.servoy.com/t/showrecords-bypasses-initialsort/4334/2 "2005-06-10T12:08:32Z")

</div>

If you put a foundset into showRecords() then that foundset is already loaded and therefore sorted (just as youre problems with tab panel sorting)

intialsort property of a form is only used when that form loads the foundset itself.  
So you need to manually sort it right before you call showRecords()
