The following modification supports sorting by version: 499,500c499,501 < /* } else if (sort_opts == SORT_VERSION) { */ < /* } else if (sort_opts == SORT_EXT) { */ --- > } else if (sort_opts == SORT_VERSION) { > dif = strverscmp(d1->name, d2->name); > /* } else if (sort_opts == SORT_EXT) { */
This needs to wait at least until next version of uclibc is out, with fixed export of strverscmp.
fixed in git by commit f194cc1f3376a26158940d91d0179a3e70233e10