L
L
lord amotar2016-01-11 14:00:31
1C-Bitrix
lord amotar, 2016-01-11 14:00:31

How to sort the list of brands alphabetically?

the online store has a module with a list of brands that are displayed in a chaotic manner.
How can I make the list alphabetical?
or that the selected brands would be in the top

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Neverov, 2016-01-11
@deMone

If we are talking about a component on the page, then through the settings of the component.
If you need to do this in the source code, then pass array('NAME' => 'ASC') as the first parameter to GetList().

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question