<?xml version="1.0" encoding="utf-8"?>
<Session ID="/baanerp/tt/adv/ttadv9193m001" xml:lang="en">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Define Sort Order (ttadv9193m001)</Title>
	</Header>
	<HelpTopic xml:lang="en"><AimSection><Paragraph class="Default">
                                 Use this session to specify a sort order for a filter. When you apply the filter to the overview session, the filtered records display in the grid according to your sort order.</Paragraph>
		</AimSection>
		<GeneralSection><Paragraph class="Default">For every field that you select for your sort order, you can select an ascending or a descending sort order.</Paragraph>
			<Paragraph class="Default"><GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> orders the records in overview session's grid according to the first field you select for the sort order.</Paragraph>
			<Paragraph class="Default">If you select a second field for your sort order, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> orders the records that have the same value for the first field according to the second field you select for your sort order.</Paragraph>
			<Paragraph class="Default">You can select a third, fourth and fifth field for you sort order, by which <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> will sort records that have identical values for the first two, three, and four fields of your sort order respectively.</Paragraph>
			<ExampleSection><SectionTitle>
                                    Example
                                 </SectionTitle>
				<Paragraph class="Default">In the <GUIRef href="/baanerp/tt/adv/ttadv2500m000" role="session">Sessions (ttadv2500m000)</GUIRef> session, you define a filter with the sort order:</Paragraph>
			</ExampleSection>
			<Paragraph class="Default">Session ascending VRC ascending Expired ascending</Paragraph>
			<Paragraph class="Default">Result for displayed records:</Paragraph>
			<Paragraph class="Default">Session VRC Expired</Paragraph>
			<Paragraph class="Default">aad0100m000 B61a No aad0100m000 B61a Yes aad0100m000 B61b No</Paragraph>
			<Paragraph class="Default">aad0100s000 B61a No aad0100s000 B61a Yes aad0100s000 B61b No</Paragraph>
			<Paragraph class="Default">aad0100s100 B61a No aad0100s100 B61a Yes aad0100s100 B61b No</Paragraph>
		</GeneralSection>
		<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
			<RelTopic><Link href="/baanerp/basictasks/000057" role="manual">To use filters</Link>
			</RelTopic>
		</RelatedTopics>
	</HelpTopic>
	<Fields><FieldHelp ID="field.desc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Field Name</Title>
			</Header>
			<FuncDesc>The field on which <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> sorts the records.</FuncDesc>
			<SimpleSection><Paragraph class="Default">For every field that you select, you can select an ascending or a descending sort order.</Paragraph>
				<Paragraph class="Default">If you select more than one field to sort the records on, <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> sorts the records in the order of the first field and within that list, in the order of the second field, and so on.</Paragraph>
			</SimpleSection>
		</FieldHelp>
		<FieldHelp ID="asc.desc"><Header>
				<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">Order</Title>
			</Header>
			<FuncDesc>The order in which <GUIRef href="/baanerp/tt" role="package">Tools</GUIRef> displays the filtered records.</FuncDesc>
		</FieldHelp>
	</Fields>
</Session>
