Natural Sort in MySQL

后端 未结 21 1469
南旧
南旧 2020-11-22 02:25

Is there an elegant way to have performant, natural sorting in a MySQL database?

For example if I have this data set:

  • Final Fantasy
  • Final Fant
21条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-22 03:08

    Also there is natsort. It is intended to be a part of a drupal plugin, but it works fine stand-alone.

提交回复
热议问题