Sorted tests and requirements according to integer parts of keys when generating STR and STD.