Customize sorting


Answer

Question: if I copy games of a player from the Mega Database 2023 into a new small database, then check the games for "beauty" and sort them by "beauty", I can fix the sorting but that's it. But now there are also games which have the designation "Top Game", "Medals", "VCS", "Theory Weight" and "Commentator". Therefore a professional sorting, sort first by beauty, then second by top game and third by medals, would make more sense.

Example Beauty (S) Top Game (T) Medals (M):

SSS T M
SSS T M
SSS M
SSS
SS T M
SS T M
SS T
SS T
SS M
SS M
SS
S T M
S T M
S T
S M
S M
S M
S M
S
S


Answer: the sorting can be achieved with a little trick. You can achieve the procedure in the concrete example as follows:

  • By medals
  • By Top, then M becomes second criterion
  • By Beauty, then T becomes second and M becomes third criterion.

This goes up to a maximum of four values, after which the fourth criterion is ignored and all others are lowered in the hierarchy.

The beauty sorting is based on very fine values, the values go internally floating point from about 0 to 40 and are only roughly gridded to three levels externally. Lots with identical beauty values are therefore very rare, rather the exception. The above lot is then just the sharpest lot of the database.

Tags
Created on
31.01.2023
Rating
Feedback

Back to List