[BUGFIX] Detail view sorting is ignored

rewritten findByUids method as workarround to keep flexform sorting

related: #63797