How can i do this

i am try in google but a Google search hasn’t shown me, how cam make sort my rows table look like this

It is always a good idea to show some of your code. php has lots of sort modes and I would try:

natsort($array);

Sort of depends on where you want to do the sorting.

Unfortunately, most database engines won’t do Natural Order sorting easily; that said, they should be able to do case-insensitive sorting. (ORDER BY lower(title))

There’s potentially 3 ‘sorts’ (Filters) going on in that screenshot:
1: Filter by initial letter
2: Lexicographical
3. Pagination

If you’re going to use PHP to do the sorting, I would add case insensitivity to Rubble’s suggestion: natcasesort($array)

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.