Filtering and Sorting

Filter Group Codes

Table 22. Filter Groups

Grouping reference name

Code

Description

FILTER_GROUP_NONE

0

No filter.

FILTER_GROUP_CARRIER

1

Group by carrier.

FILTER_GROUP_SERVICE

2

Group by carrier service.

FILTER_GROUP_TYPE

3

Group by type of service.

FILTER_GROUP_COLLECTION_DAY

4

Group by collection day.

FILTER_GROUP_DELIVERY_DAY

5

Group by delivery day.

FILTER_GROUP_CUT_OFF_DAY

6

Group by cutoff day.

FILTER_GROUP_CUT_OFF_HOUR

7

Group by cutoff hour.

FILTER_GROUP_SERVICE_GROUP

8

Group by carrier 'service group'.

FILTER_GROUP_SERVICE_WINDOW

9

Group by service window.

FILTER_GROUP_COLLECTION_SLOT

10

Group by collection timeslot.

FILTER_GROUP_DELIVERY_SLOT

11

Group by delivery timeslot.


Sort Order Codes

Table 23. Sort Orders

Sorting reference name

Code

Description

SORT_NONE

0

No sorting.

SORT_CARRIER_SERVICE_TYPE

1

Default sort order.

SORT_EARLIEST_COLLECTION_ASCENDING

2

Ascending sort by earliest collection date and time.

SORT_LATEST_COLLECTION_DESCENDING

3

Descending sort by latest collection date and time.

SORT_EARLIEST_DELIVERY_ASCENDING

4

Ascending sort by earliest delivery date and time.

SORT_LATEST_DELIVERY_DESCENDING

5

Descending sort by latest delivery date and time.

SORT_COST_CHEAPEST

6

Sort by cost (cheapest first).

SORT_CARRIER

7

Alphabetical sort by carrier name.

SORT_EARLIEST_COLLECTION_DAY_ASCENDING

8

Ascending sort by earliest collection day (times are excluded).

SORT_EARLIEST_COLLECTION_DAY_DESCENDING

9

Descending sort by earliest collection day (times are excluded).

SORT_EARLIEST_DELIVERY_DAY_ASCENDING

10

Ascending sort by earliest delivery day (times are excluded).

SORT_EARLIEST_DELIVERY_DAY_DESCENDING

11

Descending sort by earliest delivery day (times are excluded).

SORT_SERVICE

12

Ascending sort by carrier service code.

SORT_LOWEST_SCORE

13

Sort by score (lowest first).

SORT_HIGHEST_SCORE

14

Sort by score (highest first).

SORT_EARLIEST_CUT_OFF

15

Sort by cutoff date and time (earliest first).

SORT_LATEST_CUT_OFF

16

Sort by cutoff date and time (latest first).

SORT_SERVICE_GROUP

17

Ascending sort by carrier 'service group' code.

SORT_EARLIEST_COLLECTION_DESCENDING

18

Descending sort by earliest collection date and time.

SORT_LATEST_COLLECTION_ASCENDING

19

Descending sort by latest collection date and time.

SORT_EARLIEST_DELIVERY_DESCENDING

20

Descending sort by earliest delivery date and time.

SORT_LATEST_DELIVERY_ASCENDING

21

Ascending sort by latest delivery date and time.

SORT_LATEST_COLLECTION_DAY_ASCENDING

22

Ascending sort by latest collection day (times are excluded).

SORT_LATEST_COLLECTION_DAY_DESCENDING

23

Descending sort by latest collection day (times are excluded).

SORT_LATEST_DELIVERY_DAY_ASCENDING

24

Ascending sort by latest delivery day (times are excluded).

SORT_LATEST_DELIVERY_DAY_DESCENDING

25

Descending sort by latest delivery day (times are excluded).

SORT_EARLIEST_COLLECTION_TIME_ASCENDING

26

Ascending sort by earliest collection time for the particular collection day.

SORT_EARLIEST_COLLECTION_TIME_DESCENDING

27

Descending sort by earliest collection time for the particular collection day.

SORT_EARLIEST_DELIVERY_TIME_ASCENDING

28

Ascending sort by earliest delivery time for the particular delivery day.

SORT_EARLIEST_DELIVERY_TIME_DESCENDING

29

Descending sort by earliest delivery time for the particular delivery day.

SORT_LATEST_COLLECTION_TIME_ASCENDING

30

Ascending sort by latest collection time for the particular collection day.

SORT_LATEST_COLLECTION_TIME_DESCENDING

31

Descending sort by latest collection time for the particular collection day.

SORT_LATEST_DELIVERY_TIME_ASCENDING

32

Ascending sort by latest delivery time for the particular delivery day.

SORT_LATEST_DELIVERY_TIME_DESCENDING

33

Descending sort by latest delivery time for the particular delivery day.

SORT_TRANSIT_TIME_ASCENDING

34

Ascending sort by length of time in transit (i.e. the shortest time at the top).

SORT_TRANSIT_TIME_DESCENDING

35

Descending sort by length of time in transit (i.e. the longest time at the top).