---
title: Enumeration: KlevuSearchSorting
slug: klevucore-reference/enumeration-klevusearchsorting
docTags: 
createdAt: 2023-11-09T09:45:59.073Z
---

 / [Exports](docId:7vdpEs-8-0Tv_43dyA7ly) / KlevuSearchSorting

## Table of contents

### Enumeration Members

- [AdvancedSorting](docId\:RX8X6NC9hFqbDTOXiITMz)
- [NameAsc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [NameDesc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [NewArrivalAsc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [NewArrivalDesc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [PriceAsc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [PriceDesc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [RatingAsc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [RatingDesc](docId\:RX8X6NC9hFqbDTOXiITMz)
- [Relevance](docId\:RX8X6NC9hFqbDTOXiITMz)

## Enumeration Members

### AdvancedSorting

• **AdvancedSorting** = `"ADVANCED_SORT"`

Advanced sorting method that requires list of keys to be sorted with. Recommended use `advancedSorting()` modifier instead of specifying this

### Defined in

[models/KlevuSearchSorting.ts:49](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L49)

***

### NameAsc

• **NameAsc** = `"NAME_ASC"`

Sort the results by the name of each record, in alphabetical order.

### Defined in

[models/KlevuSearchSorting.ts:20](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L20)

***

### NameDesc

• **NameDesc** = `"NAME_DESC"`

Sort the results by the name of each record, in alphabetical order.

### Defined in

[models/KlevuSearchSorting.ts:24](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L24)

***

### NewArrivalAsc

• **NewArrivalAsc** = `"NEW_ARRIVAL_ASC"`

Sort your records based on their published date. Please see support article
for important information about sorting by newness.

### Defined in

[models/KlevuSearchSorting.ts:39](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L39)

***

### NewArrivalDesc

• **NewArrivalDesc** = `"NEW_ARRIVAL_DESC"`

Sort your records based on their published date. Please see support article
for important information about sorting by newness.

### Defined in

[models/KlevuSearchSorting.ts:44](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L44)

***

### PriceAsc

• **PriceAsc** = `"PRICE_ASC"`

Sort the results by the salePrice value of each record.

### Defined in

[models/KlevuSearchSorting.ts:12](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L12)

***

### PriceDesc

• **PriceDesc** = `"PRICE_DESC"`

Sort the results by the salePrice value of each record.

### Defined in

[models/KlevuSearchSorting.ts:16](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L16)

***

### RatingAsc

• **RatingAsc** = `"RATING_ASC"`

Sort the results by each record's average rating, if this data has been
indexed in your store.

### Defined in

[models/KlevuSearchSorting.ts:29](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L29)

***

### RatingDesc

• **RatingDesc** = `"RATING_DESC"`

Sort the results by each record's average rating, if this data has been
indexed in your store.

### Defined in

[models/KlevuSearchSorting.ts:34](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L34)

***

### Relevance

• **Relevance** = `"RELEVANCE"`

This is the default sort order, which uses a combination of Klevu A.I. and
your own merchandising configuration to determine the order of the results.
Please read this article for more information about how Klevu ranks and
orders the results.

### Defined in

[models/KlevuSearchSorting.ts:8](https://github.com/klevultd/frontend-sdk/blob/492d3760/packages/klevu-core/src/models/KlevuSearchSorting.ts#L8)
