sdcv has an open issue about the first one:
https://github.com/Dushistov/sdcv/issues/30
However, the description said sdcv always got the first result. Now in KOreader, it is the last result, not the first one.
And also my second issue is known:
https://github.com/koreader/koreader/issues/6250
KOreader used to handle the sorting of the dictionaries in a stone age way. Then somebody stepped up and improved it and now it is really comfortable. So