Steps to Reproduce: 1. Create a new account. 2. Add some transactions (e.g. 100, 10, 12, 200, 20, -20, -30, -250). 3. Go to View Lots and order splits free transactions by Amount or Value. Excepted order: -250, -30, -20, 10, 12, 20, 100, 200 Found order: -20, -250, -30, 10, 100, 12, 20, 200 4. Create a lot and add all transactions to the lot. Then order the splits in lot by Amount or Value. The transactions are again ordered alphabetically. 5. Remove all transactions from the lot and create for each transaction a lot and then add each transaction to a single lot. Then sort the lots by balance. The lots are also ordered alphabetically. I could reproduce the behavior on the Void Linux GNUCash Build 3.10+(2020-04-11) and on the official Windows GNUCash Build 3.10+(2020-04-11).
Will have a look at this.
This is fixed and will be in version 4.0, thank you for the report.