Refactored List key/value handling to reduce code duplication and fix issues with itemKey being a function when ordering (#6478)
Refactored List key/value handling to reduce code duplication and fix issues with itemKey being a function when ordering (#6478)

* Refactored List key/value handling to reduce code duplication and fix issues with itemKey being a function when ordering

* Prefer primaryKey over itemKey for List item id to be backwards compatible
grommet/grommet,grommet/grommet,grommet/grommet