fix to sort entries to re-generate just same test case code