Sorting detail in master/detail - Interbase


I'm using a IBQuery as my master, and IBTable as detail in a
master/detail relationship. I want to sort the detail, but using
indexes, breaks the master/detail config. If I try to setup
master/detail with an index already provided for the IBTable/detail -
same thing. How can one sort the detail?